Skip to content

Commit 1435f2c

Browse files
committed
add deprecation for graph function string arguments
1 parent aab9b59 commit 1435f2c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,25 @@ Several xref:clauses/transaction-clauses.adoc#query-listing-transactions[`SHOW
152152
* `startTime` and `currentQueryStartTime` now return a `ZONED DATETIME` instead of a `STRING` representation of a temporal value.
153153
* `clientAddress` and `outerTransactionId` now return `null` instead of an empty `STRING` when unavailable.
154154
* The current query-related columns — `currentQuery`, `currentQueryId`, `parameters`, `planner`, `runtime`, `indexes`, `currentQueryStartTime`, `currentQueryElapsedTime`, `currentQueryCpuTime`, `currentQueryIdleTime`, and `currentQueryStatus` — now return `null` when no query is executing.
155+
156+
a|
157+
label:functionality[]
158+
label:deprecated[]
159+
[source, cypher, role="noheader"]
160+
----
161+
USE graph.byName('tom`s-database')
162+
USE graph.propertiesByName('database.with.dot')
163+
----
164+
| The xref::queries/expressions.adoc#graphreferences[graph references] expressed in the passed 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.
165+
Graph name parts that contain unsupported characters for unescaped identifiers require backtick escaping.
166+
Graph name parts with special characters may require additional escaping of those characters:
167+
168+
* `++USE graph.byName('`tom``s-database`')++`
169+
170+
* `++USE graph.propertiesByName('database.with.dot')++`
171+
172+
Note that escaping graph names within the graph functions string argument is not supported in Cypher 5.
173+
155174
|===
156175

157176
=== New features

0 commit comments

Comments
 (0)