Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/mssql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ async function resolveConfig (opts, cfgFile) {
const cfg = Object.entries({
options: {
encrypt: opts.encrypt,
trustServerCertificate: opts.trustServerCertificate
trustServerCertificate: opts.trustServerCertificate,
tdsVersion: opts.tdsVersion
},
user: opts.user,
password: opts.password,
Expand Down Expand Up @@ -79,6 +80,7 @@ program
.option('--password <password>', 'Password for the database connection')
.option('--server <server>', 'Server for the database connection')
.option('--database <database>', 'Database for the database connection')
.option('--tds-version <version>', 'TDS version to use for the database connection')
.option('--port <port>', 'Port for the database connection', parseInt)
.option('--encrypt', 'Use the encrypt option for this connection', false)
.option('--trust-server-certificate', 'Trust the server certificate for this connection', false)
Expand Down