Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/ROOT/pages/clauses/limit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down