Join Slack
Communities
Powered by
hey guys! how can I achieve this with graphcool? ...
# prisma-whats-new
r
ragzor
10/01/2017, 7:35 PM
hey guys! how can I achieve this with graphcool?
https://stackoverflow.com/questions/34321688/can-graphql-return-aggregate-counts
✅ 1
w
wojtek
10/01/2017, 7:42 PM
you could do something like this for your mutation
Copy code
{ _allPostsMeta { count } }
👍🏻 2
r
ragzor
10/01/2017, 8:25 PM
this should work! Thanks!! 😊
3
Views
Open in Slack
Previous
Next