Skip to content

Commit

Permalink
review suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Sill <[email protected]>
  • Loading branch information
hvub and rsill-neo4j authored Dec 12, 2024
1 parent 300d3f9 commit 7307a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions modules/ROOT/pages/syntax/keywords.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
[[cypher-keywords]]
= Keywords

Keywords are words that have a special meaning in Cypher.
Keywords are words with a predefined meaning in Cypher.

The keywords are not recommended to be used as identifiers in the following contexts:
Keywords are not recommended to be used as identifiers in the following contexts:

* Variables
* Labels
* Relationship types

If a snippet of Cypher can validly be a keyword as well as an unquoted identifier, it is always interpreted as a keyword.
If a snippet of Cypher can both be a keyword and an unquoted identifier, it is interpreted as a keyword.

For instance in the following, `true` could be the variable `true` or the Boolean literal value `true`. Since `true` is a keyword, the query returns a single Boolean `true` value.

Expand Down Expand Up @@ -54,9 +54,9 @@ RETURN `true` AS x

== List of keywords

The following lists of all keywords in Cypher.
The following lists all keywords in Cypher.

Note that with future functionality, Cypher may gain additional keywords not yet in the list.
Note that with future functionality, Cypher may be extended with additional keywords.

=== A
`ACCESS`
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/syntax/variables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ For more information see xref::clauses/with.adoc[WITH].
[IMPORTANT]
.Variables imported into a `CALL` subquery are visible in the whole subquery
====
Even if the subquery is a multiple query parts are chained together using `WITH`, variables imported from the outer query do not have to be listed in the `WITH` clause to be visible in the next part.
Even if the subquery consists of multiple query parts chained together using `WITH`, variables imported from the outer query do not have to be listed in the `WITH` clause to be visible in the next part.
For more information see xref::subqueries/call-subquery.adoc#variable-scope-clause[The variable scope clause].
====

0 comments on commit 7307a60

Please sign in to comment.