-
-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev/core#2271 - APIv4 - Smarter check for adding default ON clause to…
… explicit joins When adding explicit joins in APIv4, the API will automacially add an ON clause linking it to the base entity unless it detects some other link already present in the ON clause supplied. Previously it would determine this by checking for the join entity ID; now it looks for the join entity ID OR any other field in the join entity with an FK. This gives more leeway for people to add creative joins without the defaults getting in the way.
- Loading branch information
Showing
1 changed file
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters