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

Update aggregate documentation for 6.x #239

Open
wants to merge 2 commits into
base: 6.x
Choose a base branch
from
Open

Conversation

angrykoala
Copy link
Member

This PR updates documentation on 6.x to match the changes made on neo4j/graphql#5945

Related nodes can also be aggregated within a query by accessing the aggregation fields in the connection.
In these fields, you can **count**, aggregate the **nodes** or **edges** fields.

The same selections and types as before are available in relationship aggregations.
Copy link
Contributor

@rsill-neo4j rsill-neo4j Mar 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The same selections and types as before are available in relationship aggregations.
The same selections and types as in xref:#_aggregation_fields[] are available in relationship aggregations.

what does "as before" refer to? asking because a link or even repeating the info might make it easier for readers

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH, this is not new documentation, just updating examples in this PR, but I presume it refers to the section "
== Aggregation fields"

Copy link
Contributor

@rsill-neo4j rsill-neo4j Mar 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(tricked myself with github views)
updated suggestion

@rsill-neo4j
Copy link
Contributor

just 6.x? or also relevant for 7.x?

@angrykoala
Copy link
Member Author

@rsill-neo4j This should also be in 7.x

However, this docs are for an upcoming release. They shouldn't be merged until that release is ready

@neo-technology-commit-status-publisher
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-graphql-239.surge.sh

Updated pages:

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.

3 participants