Skip to content

Commit 2ff90bf

Browse files
Vaibhav  BhallaVaibhav  Bhalla
authored andcommitted
feat:add operator support for partial json update
1 parent c8f1dc0 commit 2ff90bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/sql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ SQLConnector.prototype._buildFieldsForKeys = function(model, data, keys, exclude
13261326
continue;
13271327
}
13281328
const k = this.columnEscaped(model, key);
1329-
const v = this.toColumnValue(p, data[key]);
1329+
const v = this.toColumnValue(p, data[key],undefined,k);
13301330
if (v !== undefined) {
13311331
fields.names.push(k);
13321332
if (v instanceof ParameterizedSQL) {

0 commit comments

Comments
 (0)