Skip to content

Commit bd5045e

Browse files
variable name fix
1 parent 5eeb4ce commit bd5045e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/ROOT/pages/clauses/with.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ RETURN list
8484
1+d|Rows: 1
8585
|===
8686

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

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

0 commit comments

Comments
 (0)