orchid-orm 1.16.1 → 1.17.0
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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -849,7 +849,7 @@ const nestedInsert$1 = ({ query, primaryKeys, foreignKeys }) => {
|
|
|
849
849
|
for (let i2 = 0; i2 < len2; i2++) {
|
|
850
850
|
obj[foreignKeys[i2]] = selfData[primaryKeys[i2]];
|
|
851
851
|
}
|
|
852
|
-
items[i] = t.
|
|
852
|
+
items[i] = t.orWhere(...connect)._updateOrThrow(obj);
|
|
853
853
|
}
|
|
854
854
|
await Promise.all(items);
|
|
855
855
|
}
|