-
Notifications
You must be signed in to change notification settings - Fork 5
WHERE clause
Marijn van Wezel edited this page Dec 15, 2022
·
8 revisions
The WHERE
clause adds constraints to the patterns in a MATCH
or OPTIONAL MATCH
clause or filters the results of a WITH
clause.
Query::where(bool|BooleanType|(bool|BooleanType)[] $expressions, string $operator = WhereClause::AND): Query
-
$expressions
: A boolean expression to evaluate, or a non-empty list of boolean expression to evaluate. -
$operator
: The operator with which to unify the given expressions, should be either WhereClause::OR, WhereClause::AND or WhereClause::XOR.
-
addExpression(bool|BooleanType $expression, string $operator): self
: Add an expression to theWHERE
clause, potentially unified with the existing clause using$operator
.
TODO