orchid-orm 1.17.13 → 1.17.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -247,9 +247,7 @@ class BelongsToVirtualColumn extends VirtualColumn {
|
|
|
247
247
|
update(q, ctx, set) {
|
|
248
248
|
q.q.wrapInTransaction = true;
|
|
249
249
|
const data = set[this.key];
|
|
250
|
-
|
|
251
|
-
ctx.willSetKeys = true;
|
|
252
|
-
}
|
|
250
|
+
this.nestedUpdate(q, set, data, ctx);
|
|
253
251
|
}
|
|
254
252
|
}
|
|
255
253
|
const makeBelongsToMethod = (relation, relationName, query) => {
|
|
@@ -458,7 +456,6 @@ const nestedUpdate$3 = ({ query, primaryKeys, foreignKeys, len }) => {
|
|
|
458
456
|
}
|
|
459
457
|
});
|
|
460
458
|
}
|
|
461
|
-
return !params.update && !params.upsert;
|
|
462
459
|
};
|
|
463
460
|
};
|
|
464
461
|
|