__construct()
__get()
addPredicate()
addPredicates()
andPredicate()
between()
count()
equalTo()
expression()
getExpressionData()
getPredicates()
greaterThan()
greaterThanOrEqualTo()
in()
isNotNull()
isNull()
lessThan()
lessThanOrEqualTo()
like()
literal()
nest()
notEqualTo()
notIn()
notLike()
orPredicate()
predicate()
setUnnest()
unnest()
$AND
$NEST
$OR
$UNNEST
$and
$or
$defaultCombination
$nextPredicateCombineOperator
$predicates
$unnest
COMBINED_BY_AND
COMBINED_BY_OR
OP_AND
OP_OR
__construct(array $predicates, string $defaultCombination)
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::__construct() |
---|
nullarray
string
__get(string $name) : \Zend\Db\Sql\Predicate\Predicate
Overloads "or", "and", "nest", and "unnest"
string
addPredicate(\Zend\Db\Sql\Predicate\PredicateInterface $predicate, string $combination) : \Zend\Db\Sql\Predicate\PredicateSet
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::addPredicate() |
---|
\Zend\Db\Sql\Predicate\PredicateInterface
string
addPredicates(\Zend\Db\Sql\Predicate\PredicateInterface | \Closure | string | array $predicates, string $combination) : \Zend\Db\Sql\Predicate\PredicateSet
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::addPredicates() |
---|
\Zend\Db\Sql\Predicate\PredicateInterface\Closurestringarray
string
andPredicate(\Zend\Db\Sql\Predicate\PredicateInterface $predicate) : \Zend\Db\Sql\Predicate\PredicateSet
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::andPredicate() |
---|
\Zend\Db\Sql\Predicate\PredicateInterface
between(string $identifier, int | float | string $minValue, int | float | string $maxValue) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Between predicate
string
intfloatstring
intfloatstring
count() : int
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::count() |
---|
int
equalTo(int | float | bool | string $left, int | float | bool | string $right, string $leftType, string $rightType) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Operator predicate
intfloatboolstring
intfloatboolstring
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes}
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes}
expression($expression, $parameters) : \Zend\Db\Sql\Predicate\$this
\Zend\Db\Sql\Predicate\$this
getExpressionData() : array
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::getExpressionData() |
---|
array
getPredicates() : \Zend\Db\Sql\Predicate\PredicateInterface[]
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::getPredicates() |
---|
greaterThan(int | float | bool | string $left, int | float | bool | string $right, string $leftType, string $rightType) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Operator predicate
intfloatboolstring
intfloatboolstring
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes}
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes}
greaterThanOrEqualTo(int | float | bool | string $left, int | float | bool | string $right, string $leftType, string $rightType) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Operator predicate
intfloatboolstring
intfloatboolstring
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes}
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes}
in(string $identifier, array | \Zend\Db\Sql\Select $valueSet) : \Zend\Db\Sql\Predicate\Predicate
lessThan(int | float | bool | string $left, int | float | bool | string $right, string $leftType, string $rightType) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Operator predicate
intfloatboolstring
intfloatboolstring
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes}
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes}
lessThanOrEqualTo(int | float | bool | string $left, int | float | bool | string $right, string $leftType, string $rightType) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Operator predicate
intfloatboolstring
intfloatboolstring
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes}
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes}
like(string $identifier, string $like) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Like predicate
string
string
literal(string $literal) : \Zend\Db\Sql\Predicate\Predicate
Literal predicate, for parameters, use expression()
string
notEqualTo(int | float | bool | string $left, int | float | bool | string $right, string $leftType, string $rightType) : \Zend\Db\Sql\Predicate\Predicate
Utilizes Operator predicate
intfloatboolstring
intfloatboolstring
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes}
string
TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes}
notIn(string $identifier, array | \Zend\Db\Sql\Select $valueSet) : \Zend\Db\Sql\Predicate\Predicate
notLike(string $identifier, string $notLike) : \Zend\Db\Sql\Predicate\Predicate
Utilizes In predicate
string
string
orPredicate(\Zend\Db\Sql\Predicate\PredicateInterface $predicate) : \Zend\Db\Sql\Predicate\PredicateSet
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::orPredicate() |
---|
\Zend\Db\Sql\Predicate\PredicateInterface
predicate(\Zend\Db\Sql\Predicate\PredicateInterface $predicate) : \Zend\Db\Sql\Predicate\Predicate
Contrary to addPredicate() this method respects formerly set AND / OR combination operator, thus allowing generic predicates to be used fluently within where chains as any other concrete predicate.
\Zend\Db\Sql\Predicate\PredicateInterface
setUnnest(\Zend\Db\Sql\Predicate\Predicate $predicate) : void
\Zend\Db\Sql\Predicate\Predicate
$defaultCombination
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::$$defaultCombination |
---|
$nextPredicateCombineOperator
$predicates
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::$$predicates |
---|
$unnest
COMBINED_BY_AND
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::COMBINED_BY_AND |
---|
COMBINED_BY_OR
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::COMBINED_BY_OR |
---|
OP_AND
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::OP_AND |
---|
OP_OR
inherited_from | \Zend\Db\Sql\Predicate\PredicateSet::OP_OR |
---|