orchid-orm 1.9.18 → 1.9.20
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 +0 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1284,9 +1284,6 @@ const makeRelationQuery = (table, relationName, data, q) => {
|
|
|
1284
1284
|
get() {
|
|
1285
1285
|
var _a;
|
|
1286
1286
|
const toTable = q.clone();
|
|
1287
|
-
if (this.query.joinRelationAs) {
|
|
1288
|
-
toTable._as(this.query.joinRelationAs);
|
|
1289
|
-
}
|
|
1290
1287
|
const query = this.isSubQuery ? toTable : toTable._whereExists(
|
|
1291
1288
|
this.baseQuery,
|
|
1292
1289
|
(q2) => data.reverseJoin(this, toTable)
|