We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to querying of common aggregation on a column.
query { postAggregate(filter: { # Generate a query with name `<Entity>Aggregate` for each entity title: { anyofterms: "GraphQL" } }) { count # COUNT(*) numLikesMax # MAX(num_likes) numLikesMin # MIN(num_likes) numLikesSum # SUM(num_likes) numLikesAvg # AVG(num_likes) } }
query { author { name postAggregate(filter: { # Generate a query with name `<Entity>Aggregate` for each related entity title: { anyofterms: "GraphQL" } }) { count # COUNT(*) numLikesMax # MAX(num_likes) numLikesMin # MIN(num_likes) numLikesSum # SUM(num_likes) numLikesAvg # AVG(num_likes) } } }
Similar API is provided on Dgraph:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Motivation
Be able to querying of common aggregation on a column.
Proposed Solutions
Additional Information
Similar API is provided on Dgraph:
The text was updated successfully, but these errors were encountered: