Skip to content
New issue

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

Add projectCount to Round schema to enable filtering and sorting #31

Open
carlbarrdahl opened this issue Oct 31, 2023 · 0 comments
Open

Comments

@carlbarrdahl
Copy link

It would be great if it was possible to do queries such as:

  • Return rounds with projectCount > 0
  • Order the results to display rounds with the most (and least) projects first

It could be done by:

Here's what the query would look like

rounds(where: { projectCount_gt: 0 }, orderBy: projectCount) {
  ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant