mssql 12.0.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mssql +3 -1
- package/package.json +1 -1
package/bin/mssql
CHANGED
|
@@ -30,7 +30,8 @@ async function resolveConfig (opts, cfgFile) {
|
|
|
30
30
|
const cfg = Object.entries({
|
|
31
31
|
options: {
|
|
32
32
|
encrypt: opts.encrypt,
|
|
33
|
-
trustServerCertificate: opts.trustServerCertificate
|
|
33
|
+
trustServerCertificate: opts.trustServerCertificate,
|
|
34
|
+
tdsVersion: opts.tdsVersion
|
|
34
35
|
},
|
|
35
36
|
user: opts.user,
|
|
36
37
|
password: opts.password,
|
|
@@ -79,6 +80,7 @@ program
|
|
|
79
80
|
.option('--password <password>', 'Password for the database connection')
|
|
80
81
|
.option('--server <server>', 'Server for the database connection')
|
|
81
82
|
.option('--database <database>', 'Database for the database connection')
|
|
83
|
+
.option('--tds-version <version>', 'TDS version to use for the database connection')
|
|
82
84
|
.option('--port <port>', 'Port for the database connection', parseInt)
|
|
83
85
|
.option('--encrypt', 'Use the encrypt option for this connection', false)
|
|
84
86
|
.option('--trust-server-certificate', 'Trust the server certificate for this connection', false)
|