Skip to content

Commit a148653

Browse files
Document LET (#1207)
1 parent 9cb3774 commit a148653

File tree

7 files changed

+429
-8
lines changed

7 files changed

+429
-8
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
** xref:clauses/filter.adoc[]
1919
** xref:clauses/finish.adoc[]
2020
** xref:clauses/foreach.adoc[]
21+
** xref:clauses/let.adoc[]
2122
** xref:clauses/limit.adoc[]
2223
** xref:clauses/load-csv.adoc[]
2324
** xref:clauses/match.adoc[]

modules/ROOT/images/let_clause.svg

Lines changed: 1 addition & 0 deletions
Loading

modules/ROOT/pages/appendix/gql-conformance/supported-optional.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ For example, GQL’s graph reference values `CURRENT_GRAPH` and `CURRENT_PROPERT
178178
| xref:clauses/filter.adoc[`FILTER`]
179179
|
180180

181+
| GQ09
182+
| `LET` statement
183+
| xref:clauses/let.adoc[`LET`]
184+
|
185+
181186
| GQ13
182187
| `ORDER BY` and page statement: `LIMIT`
183188
| xref:clauses/limit.adoc[`LIMIT`], xref:clauses/order-by.adoc[`ORDER BY`]

modules/ROOT/pages/clauses/index.adoc

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ This set is refined and augmented by subsequent parts of the query.
1717
|===
1818
| Clause | Description
1919

20+
21+
m| xref::clauses/filter.adoc[FILTER]
22+
| Adds filters to queries.
23+
label:new[Introduced in Neo4j 2025.04]
24+
2025
m| xref::clauses/match.adoc[MATCH]
2126
| Specify the patterns to search for in the database.
2227

@@ -35,20 +40,21 @@ The returned expressions may all be aliased using `AS`.
3540
|===
3641
| Clause | Description
3742

43+
m| xref::clauses/finish.adoc[FINISH]
44+
| Defines a query to have no result.
45+
46+
m| xref::clauses/let.adoc[LET]
47+
| Binds values to variables.
48+
label:new[Introduced in Neo4j 2025.04]
49+
3850
m| xref::clauses/return.adoc[RETURN ... [AS]]
3951
| Defines what to include in the query result set.
4052

41-
m| xref::clauses/with.adoc[WITH ... [AS]]
42-
| Allows query parts to be chained together, piping the results from one to be used as starting points or criteria in the next.
43-
4453
m| xref::clauses/unwind.adoc[UNWIND ... [AS]]
4554
| Expands a list into a sequence of rows.
4655

47-
m| xref::clauses/filter.adoc[FILTER]
48-
| Adds filters to queries.
49-
50-
m| xref::clauses/finish.adoc[FINISH]
51-
| Defines a query to have no result.
56+
m| xref::clauses/with.adoc[WITH ... [AS]]
57+
| Allows query parts to be chained together, piping the results from one to be used as starting points or criteria in the next.
5258

5359
|===
5460

0 commit comments

Comments
 (0)