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
If the procedure has deprecated return columns, those columns are also returned.
190
190
191
191
Note that `YIELD *` is only valid in standalone procedure calls.
192
+
Variables must be explicitly named in a `YIELD` clause if other clauses than a single procedure `CALL` are present.
193
+
This restriction simplifies query logic and protects against output variables from the procedure accidentally clashing with other query variables.
192
194
For example, the following is not valid:
193
195
194
196
.Not allowed
@@ -204,7 +206,7 @@ RETURN count(*) AS results
204
206
====
205
207
206
208
`YIELD` can be used to filter for specific results.
207
-
This requires knowing the names of the arguments within a procedure's signature, which can either be found in the link:{neo4j-docs-base-uri}/operations-manual/{page-version}/reference/procedures/[Operations Manual -> Procedures] or returned by a `SHOW PROCEDURES` query.
209
+
This requires knowing the names of the arguments within a procedure's signature, which can either be found in the link:{neo4j-docs-base-uri}/operations-manual/{page-version}/reference/procedures/[Operations Manual -> Procedures] or in the `signature` column returned by a `SHOW PROCEDURES` command (see example below).
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] (introduced in Neo4j 5.23) to import variables into the `CALL` subquery.
712
+
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.
709
713
If you are using an older version of Neo4j, use an xref:subqueries/call-subquery.adoc#importing-with[importing `WITH` clause] instead.
710
714
711
715
.Query
716
+
// tag::clauses_load_csv_transactions[]
712
717
[source, cypher]
713
718
----
714
719
LOAD CSV WITH HEADERS FROM 'https://data.neo4j.com/importing-cypher/persons.csv' AS row
@@ -717,6 +722,7 @@ CALL (row) {
717
722
SET p.name = row.name, p.born = row.born
718
723
} IN TRANSACTIONS OF 200 ROWS
719
724
----
725
+
// end::clauses_load_csv_transactions[]
720
726
721
727
.Result
722
728
[source, role="queryresult"]
@@ -751,11 +757,13 @@ A common use case for this function is to generate sequential unique IDs for CSV
0 commit comments