File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/ROOT/pages/clauses Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,24 +85,24 @@ RETURN list
85851+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 `.
8989The 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----
9595MATCH (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"
You can’t perform that action at this time.
0 commit comments