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/notifications/all-notifications.adoc
+135-1Lines changed: 135 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1246,8 +1246,10 @@ To continue using it, escape the identifier by adding backticks around the ident
1246
1246
To continue using it, escape the identifier by adding backticks around the identifier `%s`.
1247
1247
- label:new[Valid for Neo4j 5.5-5.25] All subqueries in a UNION [ALL] should have the same ordering for the return columns.
1248
1248
Using differently ordered return items in a UNION [ALL] clause is deprecated and will be removed in a future version.
1249
-
- Databases and aliases with unescaped `.` are deprecated unless to indicate that they belong to a composite database.
1249
+
- label:new[Valid for Neo4j 5.26-2025.05] Databases and aliases with unescaped `.` are deprecated unless to indicate that they belong to a composite database.
1250
1250
Names containing `.` should be escaped. (`%s`)
1251
+
- label:new[Valid from 2025.06] Graph references with separately backticked name parts (`%s`) are deprecated. In future Cypher versions, use parameters or backtick the entire name (`%s`).
1252
+
- label:new[Valid from 2025.06] Graph references with separately backticked name parts (`%s`) are deprecated. In future Cypher versions, remove the backticks (`%s`).
1251
1253
|Category
1252
1254
m|DEPRECATION
1253
1255
|GQLSTATUS code
@@ -1260,6 +1262,124 @@ m|DEPRECATION
1260
1262
m|WARNING
1261
1263
|===
1262
1264
1265
+
[#_graph_reference_deprecation]
1266
+
.Using separately backticked name parts in graph references
1267
+
[.tabbed-example]
1268
+
=====
1269
+
[.include-with-GQLSTATUS-code]
1270
+
======
1271
+
Query::
1272
+
+
1273
+
[source,cypher]
1274
+
----
1275
+
CYPHER 5 CREATE ALIAS `foo`.`bar` FOR DATABASE ...
1276
+
----
1277
+
1278
+
Returned GQLSTATUS code::
1279
+
01N00
1280
+
1281
+
Returned status description::
1282
+
warn: feature deprecated.
1283
+
Graph references with separately backticked name parts (\`foo`.\`bar`) are deprecated. In future Cypher versions, use parameters or backtick the entire name (\`foo.bar`).
1284
+
1285
+
Suggestions for improvement::
1286
+
In newer Cypher versions, either the whole graph reference name should be backticked or it should be sent in as a parameter.
1287
+
+
1288
+
[source,cypher]
1289
+
----
1290
+
CYPHER 25 CREATE ALIAS `foo.bar` FOR DATABASE ...
1291
+
----
1292
+
+
1293
+
[source,cypher]
1294
+
----
1295
+
CYPHER 25 CREATE ALIAS $param FOR DATABASE ...
1296
+
----
1297
+
For more information on the semantics of graph references, see link:https://neo4j.com/docs/cypher-manual/current/values-and-types/graph-references[Cypher manual -> Graph references].
1298
+
1299
+
======
1300
+
[.include-with-neo4j-code]
1301
+
======
1302
+
Query::
1303
+
+
1304
+
[source,cypher]
1305
+
----
1306
+
CYPHER 5 CREATE ALIAS `foo`.`bar` FOR DATABASE ...
1307
+
----
1308
+
1309
+
Description of the returned code::
1310
+
Graph references with separately backticked name parts (\`foo`.\`bar`) are deprecated. In future Cypher versions, use parameters or backtick the entire name (\`foo.bar`).
1311
+
1312
+
Suggestions for improvement::
1313
+
In newer Cypher versions, either the whole graph reference name should be backticked or it should be sent in as a parameter.
1314
+
+
1315
+
[source,cypher]
1316
+
----
1317
+
CYPHER 25 CREATE ALIAS `foo.bar` FOR DATABASE ...
1318
+
----
1319
+
+
1320
+
[source,cypher]
1321
+
----
1322
+
CYPHER 25 CREATE ALIAS $param FOR DATABASE ...
1323
+
----
1324
+
For more information on the semantics of graph references, see link:https://neo4j.com/docs/cypher-manual/current/values-and-types/graph-references[Cypher manual -> Graph references].
1325
+
1326
+
======
1327
+
=====
1328
+
1329
+
[#_graph_reference_deprecation_use]
1330
+
.Using separately backticked name parts in graph references in USE clause
1331
+
[.tabbed-example]
1332
+
=====
1333
+
[.include-with-GQLSTATUS-code]
1334
+
======
1335
+
Query::
1336
+
+
1337
+
[source,cypher]
1338
+
----
1339
+
CYPHER 5 USE graph.byName("`a.b`.c") ...
1340
+
----
1341
+
1342
+
Returned GQLSTATUS code::
1343
+
01N00
1344
+
1345
+
Returned status description::
1346
+
warn: feature deprecated.
1347
+
Graph references with separately backticked name parts (\`a.b`.\`c`) are deprecated. In future Cypher versions, remove the backticks (a.b.c).
1348
+
1349
+
Suggestions for improvement::
1350
+
In newer Cypher versions, the backticks should be removed.
1351
+
+
1352
+
[source,cypher]
1353
+
----
1354
+
CYPHER 25 USE graph.byName("a.b.c") ...
1355
+
----
1356
+
For more information on the semantics of graph references, see link:https://neo4j.com/docs/cypher-manual/current/values-and-types/graph-references[Cypher manual -> Graph references].
1357
+
1358
+
======
1359
+
[.include-with-neo4j-code]
1360
+
======
1361
+
Query::
1362
+
+
1363
+
[source,cypher]
1364
+
----
1365
+
CYPHER 5 USE graph.byName("`a.b`.c") ...
1366
+
----
1367
+
1368
+
Description of the returned code::
1369
+
Graph references with separately backticked name parts (\`a.b`.\`c`) are deprecated. In future Cypher versions, remove the backticks (a.b.c).
1370
+
1371
+
Suggestions for improvement::
1372
+
In newer Cypher versions, the backticks should be removed.
1373
+
+
1374
+
[source,cypher]
1375
+
----
1376
+
CYPHER 25 USE graph.byName("a.b.c") ...
1377
+
----
1378
+
For more information on the semantics of graph references, see link:https://neo4j.com/docs/cypher-manual/current/values-and-types/graph-references[Cypher manual -> Graph references].
1379
+
1380
+
======
1381
+
=====
1382
+
1263
1383
.Create a database with an unescaped name containing a dot
1264
1384
[.tabbed-example]
1265
1385
=====
@@ -1311,6 +1431,20 @@ CREATE DATABASE `foo.bar`
1311
1431
======
1312
1432
=====
1313
1433
1434
+
[NOTE]
1435
+
====
1436
+
Databases and aliases with unescaped `.` are deprecated in versions 5.26 to 2025.05.
1437
+
However, starting from version 2025.06, this deprecation has been withdrawn, and replaced by two new deprecations.
1438
+
The reason for this change is that the previous quoting rules have been found inconsistent and ambiguous, and will be improved starting from Cypher 25.
0 commit comments