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

Count aggregation #6003

Open
wants to merge 6 commits into
base: aggregation-6
Choose a base branch
from
Open

Count aggregation #6003

wants to merge 6 commits into from

Conversation

angrykoala
Copy link
Member

Description

Add count fields in aggregations with support for nodes and edges count:

query {
    moviesConnection {
        aggregate {
            count {
                nodes
            }
        }
    }
}
query {
    movies {
        actorsConnection {
            aggregate {
                count {
                    nodes
                    edges
                }
            }
        }
    }
}

Copy link

changeset-bot bot commented Feb 14, 2025

🦋 Changeset detected

Latest commit: 833d911

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@neo4j/graphql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@angrykoala angrykoala marked this pull request as ready for review February 14, 2025 16:50
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

Successfully merging this pull request may close these issues.

1 participant