Last active
November 18, 2019 08:20
-
-
Save koskimas/34ec0b13f170e5f043ac0e6d8c366d15 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Modifiers can be used with any query. | |
| await Person.query().modify('findByName', fullName) | |
| // Modifiers can be used with eager loading. | |
| await Person.query().withGraphFetched('children(isFemale)') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment