Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

Commit 065e272

Browse files
author
Joel Mukuthu
committed
fix: add a property to indicate joined queries
1 parent a5b6bde commit 065e272

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/KnormRelations.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ class KnormRelations {
256256
}
257257

258258
join.parent = this;
259+
join.config.joined = true;
259260
join.config.index = ++this.config.index;
260261
// TODO: support custom aliases
261262
join.config.alias = `${join.config.alias}_${join.config.index}`;

0 commit comments

Comments
 (0)