orchid-orm 1.28.14 → 1.29.1
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1749,9 +1749,9 @@ const makeRelationQuery = (table, relationName, data, q) => {
|
|
|
1749
1749
|
var _a;
|
|
1750
1750
|
const toTable = q.clone();
|
|
1751
1751
|
let query;
|
|
1752
|
-
if (this.q.
|
|
1752
|
+
if (this.q.subQuery) {
|
|
1753
1753
|
query = toTable;
|
|
1754
|
-
query.q.
|
|
1754
|
+
query.q.subQuery = 2;
|
|
1755
1755
|
} else {
|
|
1756
1756
|
query = _queryWhere(_queryAll(toTable), [
|
|
1757
1757
|
{
|