Skip to content

Commit 3ba5967

Browse files
post-review corrections
1 parent d69e9a1 commit 3ba5967

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/ROOT/pages/subqueries/call-subquery.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Similar to xref:clauses/optional-match.adoc[`OPTIONAL MATCH`] any empty rows pro
426426
.Difference between using `CALL` and `OPTIONAL CALL`
427427
====
428428
429-
This example, which finds team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`.
429+
This example, which finds the team that each `Player` plays for, highlights the difference between using `CALL` and `OPTIONAL CALL`.
430430
431431
.Regular subquery `CALL`
432432
[source, cypher]
@@ -453,7 +453,7 @@ RETURN p.name AS playerName, team.name AS team
453453
2+d|Rows: 5
454454
|===
455455
456-
Note that no results are returned for `Player C`, since they have are not connected to any `Team` with a `PLAYS_FOR` relationship.
456+
Note that no results are returned for `Player C`, since they are not connected to any `Team` with a `PLAYS_FOR` relationship.
457457
458458
.Query using regular `OPTIONAL CALL`
459459
[source, cypher]
@@ -584,13 +584,13 @@ UNION
584584
ORDER BY p.age DESC
585585
LIMIT 1
586586
}
587-
RETURN p.name AS name, p.age AS age
587+
RETURN p.name AS playerName, p.age AS age
588588
----
589589
590590
.Result
591591
[role="queryresult",options="header,footer",cols="2*<m"]
592592
|===
593-
| name | age
593+
| playerName | age
594594
| "Player C" | 19
595595
| "Player F" | 35
596596
2+d|Rows: 2
@@ -635,7 +635,7 @@ The result of the `CALL` subquery is the combined result of evaluating the subqu
635635

636636
.`CALL` subquery changing returned rows of outer query
637637
====
638-
The following example finds the name of each `Player` and the teams they play for.
638+
The following example finds the name of each `Player` and the team they play for.
639639
No rows are returned for `Player C`, since they have are not connected to a `Team` with a `PLAYS_FOR` relationship.
640640
The number of results of the subquery thus changed the number of results of the enclosing query.
641641
@@ -647,7 +647,7 @@ CALL (p) {
647647
MATCH (p)-[:PLAYS_FOR]->(team:Team)
648648
RETURN team.name AS team
649649
}
650-
RETURN p.name AS player, team
650+
RETURN p.name AS playerName, team
651651
----
652652
653653
.Result

0 commit comments

Comments
 (0)