Skip to content

Commit

Permalink
Merge branch 'dev' into tags-for-clause-section
Browse files Browse the repository at this point in the history
  • Loading branch information
rsill-neo4j authored Jan 14, 2025
2 parents 385cfeb + fca175b commit 1672033
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 56 deletions.
4 changes: 3 additions & 1 deletion modules/ROOT/pages/clauses/call.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ CALL db.labels() YIELD *
If the procedure has deprecated return columns, those columns are also returned.
Note that `YIELD *` is only valid in standalone procedure calls.
Variables must be explicitly named in a `YIELD` clause if other clauses than a single procedure `CALL` are present.
This restriction simplifies query logic and protects against output variables from the procedure accidentally clashing with other query variables.
For example, the following is not valid:
.Not allowed
Expand All @@ -204,7 +206,7 @@ RETURN count(*) AS results
====
`YIELD` can be used to filter for specific results.
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.
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).
.Find the argument names of `db.propertyKeys`
[source, cypher]
Expand Down
73 changes: 19 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@antora/cli": "^3.1.10",
"@antora/site-generator-default": "^3.1.10",
"@neo4j-antora/antora-add-notes": "^0.3.1",
"@neo4j-antora/antora-modify-sitemaps": "^0.5.0",
"@neo4j-antora/antora-modify-sitemaps": "^0.6.0",
"@neo4j-antora/antora-page-roles": "^0.3.1",
"@neo4j-antora/antora-table-footnotes": "^0.3.2",
"@neo4j-antora/mark-terms": "1.1.0",
Expand Down

0 comments on commit 1672033

Please sign in to comment.