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