Join Slack
Powered by
Have never worked with GraphQL. In terms of using ...
# prisma-whats-new
m
meglio
02/28/2017, 5:15 AM
Have never worked with GraphQL. In terms of using your service (with no direct access to making SQL queries), how do I make complex queries with data aggregation, filtering and windowing? Is is possible?
n
nilan
02/28/2017, 9:25 AM
@meglio
You can use filters as described here:
https://www.graph.cool/docs/reference/simple-api/filtering-by-field-xookaexai0
I assume you refer to pagination with windowing. If so, that's how you do it:
https://www.graph.cool/docs/tutorials/designing-powerful-apis-with-graphql-query-parameters-aing7uech3
We are currently collecting feedback for aggregation:
https://github.com/graphcool/feature-requests/issues/70
You can use the "count" aggregation already now 🙂
Open in Slack
Previous
Next