-
Notifications
You must be signed in to change notification settings - Fork 60
NEXT documentation #1273
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
base: cypher-25
Are you sure you want to change the base?
NEXT documentation #1273
Conversation
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.
Great work Richard! I added som thought and edits, some which we talked about during the meeting, some that I came up with now.
modules/ROOT/pages/appendix/gql-conformance/supported-optional.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/appendix/gql-conformance/supported-optional.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
==== | ||
|
||
|
||
== Interactions with conditional queries |
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.
Really like this example!
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
[[next-and-union]] | ||
.`NEXT` in a query using `UNION` |
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.
I think this example is fine and easy to reason about, maybe not the most exciting creation ever but it does the job.
Co-authored-by: JoelBergstrand <[email protected]>
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.
Great work! A few editorial suggestions from me :)
Also, please add NEXT
to the keywords page in this PR
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
Even though the `NEXT` query in <<call-subquery-rewrite>> has more lines, it is divided into three segments which are easy to read. | ||
It also avoids the parentheses and indentation of the `CALL` subquery. | ||
|
||
Variables which are local to a query and which are not explicitly returned are not accessible by subsequent queries in the context of `NEXT`. This allows you to control variable scope similarly to what you can do with `WITH`, see xref:clauses/with.adoc#variable-scope[Control variables in scope]. |
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.
Should this be here?
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.
moved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/queries/composed-queries/sequential-queries.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
… with a different one that uses the example data set
This PR includes documentation updates New pages: Updated pages: |
No description provided.