Hi @verneleem, we have aggregate functions in GraphQL but can’t use them in the filter as of now.
https://dgraph.io/docs/master/graphql/queries/aggregate/
you can use the above DQL query in GraphQL using the custom DQL feature and for that you need to define schema appropriately.
https://dgraph.io/docs/master/graphql/custom/dql/#sidebar
Let me know if you need any help.
2 Likes