Skip to content

Commit

Permalink
Merge pull request #1240 from dhensby/pulls/allow-nully-values
Browse files Browse the repository at this point in the history
Allow rows that are null to be valid existing values
  • Loading branch information
dhensby committed Nov 22, 2021
2 parents aa47d1b + e397a61 commit 275e6d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -4,6 +4,7 @@ v8.0.0 (2021-??-??)
[change] Updated to latest Tedious 14 ((#1312)[https://github.com/tediousjs/node-mssql/pull/1312])
[change] Errors for bad bulk load parameters have slightly different error messages ((#1318)[https://github.com/tediousjs/node-mssql/pull/1318])
[change] Options provided to the driver via the config.options object will not be overridden with other values if set explicitly ((#1340)[https://github.com/tediousjs/node-mssql/pull/1340])
[change] Duplicate column names will now be presented as an array even if the values are empty ((#1240)[https://github.com/tediousjs/node-mssql/pull/1240])

v7.2.1 (2021-08-19)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion lib/tedious/request.js
Expand Up @@ -600,7 +600,7 @@ class Request extends BaseRequest {
row.push(col.value)
} else {
const exi = row[col.metadata.colName]
if (exi != null) {
if (exi !== undefined) {
if (exi instanceof Array) {
exi.push(col.value)
} else {
Expand Down

0 comments on commit 275e6d7

Please sign in to comment.