You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,8 +162,8 @@ USE graph.byName('tom`s-database')
162
162
163
163
USE graph.propertiesByName('database.with.dot')
164
164
----
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.
167
167
Graph name parts with special characters may require additional escaping of those characters:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/queries/expressions.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ String literals can contain the following escape sequences:
86
86
[[graphreferences]]
87
87
== Graph references
88
88
* 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]).
90
90
* 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>)`.
91
91
* 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>)`.
92
92
* 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
97
97
* Unquoted dots are separators between a composite database and its constituent.
98
98
For example, `composite.db1` represents the constituent `composite.db1` in the composite database `composite`.
99
99
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.
101
101
Thus, `USE graph.byName(<graph-reference>)` is typically equivalent to `USE <graph-reference>`.
102
102
However, escaping rules for xref::syntax/naming.adoc#symbolic-names-escaping-rules[symbolic names] are applied to the argument.
103
103
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