diff --git a/modules/ROOT/pages/clauses/limit.adoc b/modules/ROOT/pages/clauses/limit.adoc index a1759c211..2c4cb3d30 100644 --- a/modules/ROOT/pages/clauses/limit.adoc +++ b/modules/ROOT/pages/clauses/limit.adoc @@ -130,12 +130,13 @@ Properties set: 1 If we want to limit the number of updates we can split the query using the `WITH` clause: .Query -[source, cypher, role="test-result-skip"] +[source, cypher] ---- MATCH (n) WITH n LIMIT 1 SET n.locked = true RETURN n +ORDER BY n.name ---- Writes `locked` property on one node and return that node: