-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document LET
#1207
base: cypher-25
Are you sure you want to change the base?
Document LET
#1207
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,21 +35,26 @@ The returned expressions may all be aliased using `AS`. | |
|=== | ||
| Clause | Description | ||
|
||
m| xref::clauses/return.adoc[RETURN ... [AS]] | ||
| Defines what to include in the query result set. | ||
|
||
m| xref::clauses/with.adoc[WITH ... [AS]] | ||
| Allows query parts to be chained together, piping the results from one to be used as starting points or criteria in the next. | ||
|
||
m| xref::clauses/unwind.adoc[UNWIND ... [AS]] | ||
| Expands a list into a sequence of rows. | ||
m| xref::clauses/let.adoc[LET] | ||
| Assigns expressions to variables. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. More correct is that the results of expressions are assigned to that variables. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alternatively, you could say something like "defines additional variables" or "binds additional variables". Not sure I like these more. Just throwing out ideas. |
||
label:new[Introduced in Neo4j 2025.03] | ||
|
||
m| xref::clauses/filter.adoc[FILTER] | ||
| Adds filters to queries. | ||
label:new[Introduced in Neo4j 2025.03] | ||
Comment on lines
42
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Didn't saw this on the |
||
|
||
m| xref::clauses/finish.adoc[FINISH] | ||
| Defines a query to have no result. | ||
|
||
m| xref::clauses/return.adoc[RETURN ... [AS]] | ||
| Defines what to include in the query result set. | ||
|
||
m| xref::clauses/unwind.adoc[UNWIND ... [AS]] | ||
| Expands a list into a sequence of rows. | ||
|
||
m| xref::clauses/with.adoc[WITH ... [AS]] | ||
| Allows query parts to be chained together, piping the results from one to be used as starting points or criteria in the next. | ||
|
||
|=== | ||
|
||
[[reading-sub-clauses]] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just FYI: There is a caveat to this, since there is a sub-functionality which we do not support, cf. Appendix of the CIP. However, that is much in the detail and other implementation do not support that either. Additionally, I am trying to make this bit optional in the standard. Bottom line: I would not change anything here at this point, but we may want to in the future (e.g. when making it optional in the standard fails).