Skip to content

Commit 18cd3bd

Browse files
fix variable names (#1261)
1 parent aeade00 commit 18cd3bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/ROOT/pages/clauses/with.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,24 @@ RETURN list
8585
1+d|Rows: 1
8686
|===
8787

88-
In the below example, the `WITH` clause binds all matched `Customer` nodes to a new variable, `chocolateCustomers`.
88+
In the below example, the `WITH` clause binds all matched `Customer` nodes to a new variable, `customers`.
8989
The bound nodes are `MAP` values which can then be referenced from the new variable.
9090

9191
.Create a new variable bound to matched nodes
9292
// tag::clauses_with_new_variable[]
9393
[source, cypher]
9494
----
9595
MATCH (c:Customer)-[:BUYS]->(:Product {name: 'Chocolate'})
96-
WITH c AS customer
97-
RETURN customer.firstName AS chocolateCustomer
96+
WITH c AS customers
97+
RETURN customers.firstName AS chocolateCustomers
9898
----
9999
// end::clauses_with_new_variable[]
100100

101101

102102
.Result
103103
[role="queryresult",options="header,footer",cols="1*<m"]
104104
|===
105-
| chocolateCustomer
105+
| chocolateCustomers
106106

107107
| "Amir"
108108
| "Mateo"

0 commit comments

Comments
 (0)