WHERE Clause
Overview
The WHERE
clause filters query results by specifying conditions that nodes, relationships, or properties must satisfy.
ℹ️
WHERE clause can only appear in MATCH
, OPTIONAL MATCH
and WITH
clauses.
Syntax
WHERE condition
[AND|OR condition...]
Examples
Property filter:
MATCH (p:Person)
WHERE p.age > 30
RETURN p
Last updated on