Skip to content

Conversation

@JPryce-Aklundh
Copy link
Collaborator

No description provided.

@JPryce-Aklundh JPryce-Aklundh added the cherry-pick-this-to-5.x Cherry pick this PR changes to the 5.x branch label Oct 14, 2024
Copy link
Contributor

@gem-neo4j gem-neo4j left a comment

Choose a reason for hiding this comment

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

Looks good! Just a few comments :)

====
This example, which finds the friends of each `Player` and xref:functions/aggregating.adoc#functions-count[counts] the number of friends per player, highlights the difference between using `CALL` and `OPTIONAL CALL`.
This example, which finds team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
This example, which finds team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`.
This example, which finds the team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`.

|===
Note that no results are returned for `Player D`, `Player E`, and `Player F`, since they have no outgoing `FRIEND_OF` relationships connected to them.
Note that no results are returned for `Player C`, since they have are not connected to any `Team` with a `PLAYS_FOR` relationship.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Note that no results are returned for `Player C`, since they have are not connected to any `Team` with a `PLAYS_FOR` relationship.
Note that no results are returned for `Player C`, since they are not connected to any `Team` with a `PLAYS_FOR` relationship.

The following example finds the name of each `Player` and the names of their friends.
No rows are returned for the `Player` nodes without any `FRIEND_OF` relationships, the number of results of the subquery thus changed the number of results of the enclosing query.
The following example finds the name of each `Player` and the teams they play for.
No rows are returned for `Player C`, since they have are not connected to a `Team` with a `PLAYS_FOR` relationship.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
No rows are returned for `Player C`, since they have are not connected to a `Team` with a `PLAYS_FOR` relationship.
No rows are returned for `Player C`, since they are not connected to a `Team` with a `PLAYS_FOR` relationship.

| "Player A"
| "Player C"
| playerName | team
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
| playerName | team
| player | team

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

neo-technology-commit-status-publisher commented Oct 14, 2024

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

@JPryce-Aklundh JPryce-Aklundh merged commit c4de60d into neo4j:dev Oct 14, 2024
5 checks passed
@JPryce-Aklundh JPryce-Aklundh deleted the call_clarifications branch October 14, 2024 10:43
gem-neo4j pushed a commit to gem-neo4j/docs-cypher that referenced this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-this-to-5.x Cherry pick this PR changes to the 5.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants