File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ async function resolveConfig (opts, cfgFile) {
3030 const cfg = Object . entries ( {
3131 options : {
3232 encrypt : opts . encrypt ,
33- trustServerCertificate : opts . trustServerCertificate
33+ trustServerCertificate : opts . trustServerCertificate ,
34+ tdsVersion : opts . tdsVersion
3435 } ,
3536 user : opts . user ,
3637 password : opts . password ,
@@ -79,6 +80,7 @@ program
7980 . option ( '--password <password>' , 'Password for the database connection' )
8081 . option ( '--server <server>' , 'Server for the database connection' )
8182 . option ( '--database <database>' , 'Database for the database connection' )
83+ . option ( '--tds-version <version>' , 'TDS version to use for the database connection' )
8284 . option ( '--port <port>' , 'Port for the database connection' , parseInt )
8385 . option ( '--encrypt' , 'Use the encrypt option for this connection' , false )
8486 . option ( '--trust-server-certificate' , 'Trust the server certificate for this connection' , false )
You can’t perform that action at this time.
0 commit comments