orchid-orm 1.28.14 → 1.29.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.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.isSubQuery) {
1752
+ if (this.q.subQuery) {
1753
1753
  query = toTable;
1754
- query.q.isSubQuery = true;
1754
+ query.q.subQuery = 2;
1755
1755
  } else {
1756
1756
  query = _queryWhere(_queryAll(toTable), [
1757
1757
  {