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
Part of #28
Is fairly important to be able to do this, particularly for top level aggregates:
query { _count(users, filter: {Age: {_gt: 26}}) }
The text was updated successfully, but these errors were encountered:
just for reference:
query { user(filter: {Age: {_gt: 26}}) { _count } }
_count equivalent to _count(*) from SQL
_count
_count(*)
Sorry, something went wrong.
Part of #28 Is fairly important to be able to do this, particularly for top level aggregates: query { _count(users, filter: {Age: {_gt: 26}}) }
quick edit:
query { _count(collection: users, filter: {Age: {_gt: 26}}) }
query { author { name numberOfBooks: _count(field: books, filter: {rating: {_gt: 4}}) } }
AndrewSisley
Successfully merging a pull request may close this issue.
Part of #28
Is fairly important to be able to do this, particularly for top level aggregates:
The text was updated successfully, but these errors were encountered: