Skip to content

Commit bef6e03

Browse files
committed
fixing wrong/improving descriptions
1 parent 2bccaa4 commit bef6e03

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

modules/ROOT/pages/clauses/use.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ A more detailed description of how and when a graph references needs to be quote
2929

3030
== USE clause when connected to a standard or system database
3131

32-
All databases are valid graph reference targets except composite databases.
32+
All databases and aliases are valid graph reference targets except composite databases and their constituents.
3333
Targeting multiple databases is not allowed, unless connected to a composite database.
3434

3535
=== Position of use clauses

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ USE graph.byName('tom`s-database')
162162
163163
USE graph.propertiesByName('database.with.dot')
164164
----
165-
| The xref::queries/expressions.adoc#graphreferences[graph references] expressed in arguments of the functions xref:functions/graph.adoc#functions-graph-byname[`graph.byName`] and xref:functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName`] are parsed as static references in Cypher 25.
166-
Graph name parts that contain unsupported characters for unescaped identifiers require backtick escaping.
165+
| xref::queries/expressions.adoc#graphreferences[Graph references] in arguments of the functions xref:functions/graph.adoc#functions-graph-byname[`graph.byName`] and xref:functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName`] in Cypher 25 are parsed as <symbolic-name> or <symbolic-name>.<symbolic-name> and now support escaping names.
166+
Graph name parts that contain unsupported characters for unescaped symbolic names now require backtick escaping.
167167
Graph name parts with special characters may require additional escaping of those characters:
168168

169169
* `++USE graph.byName('`tom``s-database`')++`

modules/ROOT/pages/queries/expressions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ String literals can contain the following escape sequences:
8686
[[graphreferences]]
8787
== Graph references
8888
* Database and alias names when managing link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/[databases and aliases]: `CREATE DATABASE <symbolic-name>`
89-
* Static graph references: `USE <symbolic-name>` (for link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/[standard and system databases]), `USE <symbolic-name>.<symbolic-name>` (for link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases]).
89+
* Static graph references: `USE <symbolic-name>` or `USE <symbolic-name>.<symbolic-name>` (for constituents of a link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases]).
9090
* Dynamic graph reference with the xref:functions/graph.adoc#functions-graph-byname[`graph.byName`] function, to access a graph of a given name: `USE graph.byName(<string-expression>)`.
9191
* Dynamic graph references with the xref:functions/graph.adoc#functions-graph-by-elementid[`graph.byElementId`] function, to access a graph of a given node or relationship: `USE graph.byName(<element-id-string>)`.
9292
* Retrieving properties of a graph with the xref:functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName`] function: `graph.propertiesByName(<string-expression>)`
@@ -97,7 +97,7 @@ Rules on string expressions for graph references when using identifiers (static
9797
* Unquoted dots are separators between a composite database and its constituent.
9898
For example, `composite.db1` represents the constituent `composite.db1` in the composite database `composite`.
9999
To refer to a database with a dot (`.`) in its name, quote the graph reference instead: `++`composite.db1`++`.
100-
* When resolving a graph reference within a graph function, the string argument is parsed like a static graph reference.
100+
* When resolving a graph reference within a graph function, the string argument is parsed like a static graph reference.
101101
Thus, `USE graph.byName(<graph-reference>)` is typically equivalent to `USE <graph-reference>`.
102102
However, escaping rules for xref::syntax/naming.adoc#symbolic-names-escaping-rules[symbolic names] are applied to the argument.
103103
For string literals, both the escaping rules for xref:queries/expressions.adoc#expressions-string-literals[string literals] (during query parsing) and xref::syntax/naming.adoc#symbolic-names-escaping-rules[symbolic names] (during graph reference evaluation) are applied.

0 commit comments

Comments
 (0)