|
const result = parse(connectionString) |
|
const parsed = result.toSchema(MSSQL_SCHEMA) |
|
// Include non-standard keys (client id, tenant id, token, msi endpoint, msi secret) |
|
// that are used for authentication but not part of the MSSQL schema |
|
for (const [key, value] of result) { |
|
if (!(key in parsed)) { |
|
parsed[key] = value |
|
} |
|
} |
useutc is not in the MSSQL_SCHEMA, so it is parsed as 'False' (string). Then in the later case 'useutc': !!'False'===true
node-mssql/lib/base/connection-pool.js
Lines 126 to 134 in 204a9b3
useutcis not in theMSSQL_SCHEMA, so it is parsed as'False'(string). Then in the latercase 'useutc':!!'False'===true