Skip to content

Commit 1e75deb

Browse files
clean up
1 parent ca9e51d commit 1e75deb

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
** xref:expressions/predicates/index.adoc[]
4343
*** xref:expressions/predicates/boolean-operators.adoc[]
4444
*** xref:expressions/predicates/comparison-operators.adoc[]
45-
*** xref:expressions/predicates/string-operators.adoc[]
4645
*** xref:expressions/predicates/list-operators.adoc[]
46+
*** xref:expressions/predicates/string-operators.adoc[]
4747
*** xref:expressions/predicates/path-pattern-expressions.adoc[]
4848
*** xref:expressions/predicates/type-predicate-expressions.adoc[]
4949
** xref:expressions/conditional-expressions.adoc[]

modules/ROOT/pages/expressions/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ For details and examples of specific expressions, see the following sections:
77
* xref:expressions/predicates/index.adoc[]
88
** xref:expressions/predicates/boolean-operators.adoc[]: `AND`, `OR`, `XOR`, `NOT`
99
** xref:expressions/predicates/comparison-operators.adoc[]: `=`, `<>`, `<`, `>`, `\<=`, `>=`, `IS NULL`, `IS NOT NULL`
10-
** xref:expressions/predicates/string-operators.adoc[]: `STARTS WITH`, `ENDS WITH`, `CONTAINS`, `IS NORMALIZED`, `IS NOT NORMALIZED`, `=~`
1110
** xref:expressions/predicates/list-operators.adoc[]: `IN`
11+
** xref:expressions/predicates/string-operators.adoc[]: `STARTS WITH`, `ENDS WITH`, `CONTAINS`, `IS NORMALIZED`, `IS NOT NORMALIZED`, `=~`
1212
** xref:expressions/predicates/path-pattern-expressions.adoc[]: information about filtering queries with path pattern expressions.
1313
** xref:expressions/predicates/type-predicate-expressions.adoc[]: information about how to verify the value type of a Cypher expression.
1414
* xref:expressions/conditional-expressions.adoc[]

modules/ROOT/pages/expressions/predicates/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This chapter is divided into the following sections:
77

88
* xref:expressions/predicates/boolean-operators.adoc[]: `AND`, `OR`, `XOR`, `NOT`
99
* xref:expressions/predicates/comparison-operators.adoc[]: `=`, `<>`, `<`, `>`, `\<=`, `>=`, `IS NULL`, `IS NOT NULL`
10-
* xref:expressions/predicates/string-operators.adoc[]: `STARTS WITH`, `ENDS WITH`, `CONTAINS`, `IS NORMALIZED`, `IS NOT NORMALIZED`, `=~`
1110
* xref:expressions/predicates/list-operators.adoc[]: `IN`
11+
* xref:expressions/predicates/string-operators.adoc[]: `STARTS WITH`, `ENDS WITH`, `CONTAINS`, `IS NORMALIZED`, `IS NOT NORMALIZED`, `=~`
1212
* xref:expressions/predicates/path-pattern-expressions.adoc[]: information about filtering queries with path pattern expressions.
1313
* xref:expressions/predicates/type-predicate-expressions.adoc[]: information about how to verify the value type of a Cypher expression.
1414

modules/ROOT/pages/expressions/predicates/list-operators.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ When used with nested `LIST` values, the `IN` operator evaluates whether a `LIST
152152
Partial matches of individual elements within a nested `LIST` will return `FALSE`.
153153

154154
.Checking for membership in nested `LIST` values
155-
=====
156-
157-
.Checking if a `LIST` is in a `LIST` of nested `LIST` values
158155
[source, cypher]
159156
----
160157
RETURN [0, 2] IN [[1, 2], [3, 4]] AS listInNestedList
@@ -171,7 +168,7 @@ RETURN [0, 2] IN [[1, 2], [3, 4]] AS listInNestedList
171168
|===
172169

173170

174-
.Checking if a `LIST` is in a `LIST` of nested `LIST` values
171+
.Checking for membership in nested `LIST` values
175172
[source, cypher]
176173
----
177174
RETURN [3, 4] IN [[1, 2], [3, 4]] AS listInNestedList
@@ -188,7 +185,7 @@ RETURN [3, 4] IN [[1, 2], [3, 4]] AS listInNestedList
188185
|===
189186

190187

191-
.Checking partial match in nested `LIST` values
188+
.Checking for partial membership in nested `LIST` values
192189
[source, cypher]
193190
----
194191
RETURN [1] IN [[1, 2], [3, 4]] AS listInNestedTest
@@ -204,12 +201,10 @@ RETURN [1] IN [[1, 2], [3, 4]] AS listInNestedTest
204201
1+d|Rows: 1
205202
|===
206203

207-
=====
208-
204+
[[list-subsets]]
209205
== List subsets
210206

211207
A subset check verifies if all elements of one `LIST` exist in another.
212-
In other words, it ignores `LIST` order and groupings.
213208
The xref:functions/predicate.adoc#functions-all[`all()`] function is used to ensure that every element in the first `LIST` is found in the second `LIST`.
214209

215210
.Subset check

0 commit comments

Comments
 (0)