Created
May 15, 2020 04:13
-
-
Save danielrearden/bdf08de9af0328b57bc42327a86ed454 to your computer and use it in GitHub Desktop.
Making GraphQL Magic with Sqlmancer - 12
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
query { | |
customers( | |
where: { firstName: { like: "L%" } } | |
orderBy: [{ invoices: { sum: { total: DESC } } }] | |
limit: 5 | |
) { | |
id | |
firstName | |
lastName | |
invoices( | |
limit: 3 | |
orderBy: { total: DESC } | |
) { | |
id | |
total | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment