Skip to content

Commit 1672033

Browse files
authored
Merge branch 'dev' into tags-for-clause-section
2 parents 385cfeb + fca175b commit 1672033

File tree

3 files changed

+23
-56
lines changed

3 files changed

+23
-56
lines changed

modules/ROOT/pages/clauses/call.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ CALL db.labels() YIELD *
189189
If the procedure has deprecated return columns, those columns are also returned.
190190
191191
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.
192194
For example, the following is not valid:
193195
194196
.Not allowed
@@ -204,7 +206,7 @@ RETURN count(*) AS results
204206
====
205207
206208
`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).
208210
209211
.Find the argument names of `db.propertyKeys`
210212
[source, cypher]

package-lock.json

Lines changed: 19 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@antora/cli": "^3.1.10",
2323
"@antora/site-generator-default": "^3.1.10",
2424
"@neo4j-antora/antora-add-notes": "^0.3.1",
25-
"@neo4j-antora/antora-modify-sitemaps": "^0.5.0",
25+
"@neo4j-antora/antora-modify-sitemaps": "^0.6.0",
2626
"@neo4j-antora/antora-page-roles": "^0.3.1",
2727
"@neo4j-antora/antora-table-footnotes": "^0.3.2",
2828
"@neo4j-antora/mark-terms": "1.1.0",

0 commit comments

Comments
 (0)