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
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,78 @@ New features are added to the language continuously, and occasionally, some feat
16
16
This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions.
17
17
Replacement syntax for deprecated and removed features are also indicated.
18
18
19
+
[[cypher-deprecations-additions-removals-5.26]]
20
+
== Neo4j 5.26
21
+
22
+
=== Deprecated features
23
+
24
+
[cols="2", options="header"]
25
+
|===
26
+
| Feature
27
+
| Details
28
+
29
+
a|
30
+
label:functionality[]
31
+
label:deprecated[]
32
+
[source, cypher, role="noheader"]
33
+
----
34
+
MATCH (where {...})
35
+
----
36
+
----
37
+
MATCH (...)-[where {...}]->()
38
+
----
39
+
| The unescaped variable named `where` or `WHERE` (or in any other casing) in a node pattern or a relationship pattern if directly followed by a property key-value expression only is deprecated. Use backticks to escape the variable name: `MATCH (++`where`++ { ... })` or `MATCH (...)-[++`where`++ { ... }]->()`.
40
+
41
+
a|
42
+
label:functionality[]
43
+
label:deprecated[]
44
+
[source, cypher, role="noheader"]
45
+
----
46
+
... + n:A
47
+
----
48
+
----
49
+
... + n:A&B
50
+
----
51
+
----
52
+
... + n:A&B\|C
53
+
----
54
+
| The unparenthesized label expression predicate as right-hand side operand of `\+` is deprecated. Parenthesize the label expression predicate on the right-hand side of `+`: `... + (n:A)`.
55
+
56
+
a|
57
+
label:functionality[]
58
+
label:deprecated[]
59
+
[source, cypher, role="noheader"]
60
+
----
61
+
CASE x ... WHEN is :: STRING THEN ... END
62
+
----
63
+
| The type predicate expression on an unescaped variable named `is` or `IS` (or in any other casing) as a when operand of a simple `CASE` is deprecated. Use backticks to escape the variable name: `CASE x ... WHEN ++`is`++ :: STRING THEN ... END`
64
+
65
+
a|
66
+
label:functionality[]
67
+
label:deprecated[]
68
+
[source, cypher, role="noheader"]
69
+
----
70
+
CASE x ... WHEN contains + 1 THEN ... END
71
+
----
72
+
----
73
+
CASE x ... WHEN contains - 1 THEN ... END
74
+
----
75
+
| The addition or subtraction on an unescaped variable named `contains` or `CONTAINS` (or in any other casing) as a when operand of a simple `CASE` is deprecated. Use backticks to escape the variable name: `CASE x ... WHEN ++`contains`++ + 1 THEN ... END` or `CASE x ... WHEN ++`contains`++ - 1 THEN ... END`
76
+
77
+
a|
78
+
label:functionality[]
79
+
label:deprecated[]
80
+
[source, cypher, role="noheader"]
81
+
----
82
+
CASE x ... WHEN in[1] THEN ... END
83
+
----
84
+
----
85
+
CASE x ... WHEN in["abc"] THEN ... END
86
+
----
87
+
| The `[]` operator on an unescaped variable named `in` or `IN` (or in any other casing) as a when operand of a simple `CASE` is deprecated. Use backticks to escape the variable name: `CASE x ... WHEN ++`in`++[1] THEN ... END` or `CASE x ... WHEN ++`contains`++["abc"] THEN ... END`
0 commit comments