Predicates
Predicates evaluate to a BOOLEAN
value (TRUE
, FALSE
, or NULL
), and are frequently used for filtering in WHERE
subclauses.
This chapter is divided into the following sections:
-
Boolean operators:
AND
,OR
,XOR
,NOT
-
Comparison operators:
=
,<>
,<
,>
,<=
,>=
,IS NULL
,IS NOT NULL
-
List operators:
IN
-
String operators:
STARTS WITH
,ENDS WITH
,CONTAINS
,IS NORMALIZED
,IS NOT NORMALIZED
,=~
-
Path pattern expressions: information about filtering queries with path pattern expressions.
-
Type predicate expressions: information about how to verify the value type of a Cypher® expression.
The following can also serve as a predicates if they result in a BOOLEAN
value (but are documented elsewhere):