You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clauses/limit.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,12 +166,14 @@ Properties set: 1
166
166
`LIMIT` can be used as a standalone clause, or in conjunction with xref:clauses/order-by.adoc[`ORDER BY`] or xref:clauses/skip.adoc[`SKIP`]/xref:clauses/skip.adoc#offset-synonym[`OFFSET`].
The below query uses a xref:subqueries/call-subquery.adoc#variable-scope-clause[variable scope clause] to import variables into the `CALL` subquery.
709
+
The query below uses a xref:subqueries/call-subquery.adoc#variable-scope-clause[variable scope clause] (introduced in Neo4j 5.23) to import variables into the `CALL` subquery.
710
+
If you are using an older version of Neo4j, use an xref:subqueries/call-subquery.adoc#importing-with[importing `WITH` clause] instead.
706
711
707
712
.Query
713
+
// tag::clauses_load_csv_transactions[]
708
714
[source, cypher]
709
715
----
710
716
LOAD CSV WITH HEADERS FROM 'https://data.neo4j.com/importing-cypher/persons.csv' AS row
@@ -713,6 +719,7 @@ CALL (row) {
713
719
SET p.name = row.name, p.born = row.born
714
720
} IN TRANSACTIONS OF 200 ROWS
715
721
----
722
+
// end::clauses_load_csv_transactions[]
716
723
717
724
.Result
718
725
[source, role="queryresult"]
@@ -747,11 +754,13 @@ A common use case for this function is to generate sequential unique IDs for CSV
0 commit comments