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/migration/index.adoc
+73Lines changed: 73 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,79 @@ npm update @neo4j/graphql
20
20
21
21
Here is a list of all the breaking changes from version 5.0.0 to 6.0.0.
22
22
23
+
=== The deprecated `_NOT` filters are no longer supported
24
+
25
+
The following deprecated `NOT` filters are removed from the schema since they are no longer supported:
26
+
27
+
- `_NOT`
28
+
- `_NOT_CONTAINS`
29
+
- `_NOT_ENDS_WITH`
30
+
- `_NOT_IN`
31
+
- `_NOT_STARTS_WITH`
32
+
- `_NOT_INCUDES`
33
+
- `node_NOT`
34
+
- `edge_NOT`
35
+
36
+
37
+
To achieve the same in version 6.x of the GraphQL library, use the xref:/queries-aggregations/filtering.adoc#_boolean_operators[boolean `NOT` operator] instead.
38
+
39
+
[cols="1,1"]
40
+
|===
41
+
|Before | Now
42
+
43
+
a|
44
+
[source, graphql, indent=0]
45
+
----
46
+
query {
47
+
movies(where: { title_NOT: "The Matrix" }) {
48
+
title
49
+
}
50
+
}
51
+
52
+
----
53
+
a|
54
+
[source, graphql, indent=0]
55
+
----
56
+
query {
57
+
movies(where: { NOT: { title: "The Matrix" } }) {
58
+
title
59
+
}
60
+
}
61
+
----
62
+
|===
63
+
64
+
=== The deprecated `_NOT` on `@relationship` filters are no longer supported
65
+
66
+
The deprecated `_NOT` filters on `@relationship` fields such as:
67
+
68
+
- `actors_NOT`
69
+
- `actorsConnection_NOT`
70
+
71
+
Are removed from the schema and no longer supported, to achieve the same result use the `NONE` quantifier.
0 commit comments