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/call.adoc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,8 @@ CALL db.labels() YIELD *
189
189
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).
0 commit comments