Zend\Db\Sql\Having
Synopsis
class Having
extends Predicate
{
- // Inherited constants from PredicateSet
- const COMBINED_BY_AND = 'AND';
- const OP_AND = 'AND';
- const COMBINED_BY_OR = 'OR';
- const OP_OR = 'OR';
- // Inherited members from Predicate
- protected $unnest;
- protected $nextPredicateCombineOperator;
- // Inherited members from PredicateSet
- protected $defaultCombination;
- protected array $predicates;
- // Inherited methods from Predicate
- public Predicate nest()
- public void setUnnest()
- public Predicate unnest()
- public Predicate equalTo()
- public Predicate notEqualTo()
- public Predicate lessThan()
- public Predicate greaterThan()
- public Predicate lessThanOrEqualTo()
- public Predicate greaterThanOrEqualTo()
- public Predicate like()
- public Predicate notLike()
- public $this expression()
- public Predicate literal()
- public Predicate isNull()
- public Predicate isNotNull()
- public Predicate in()
- public Predicate notIn()
- public Predicate between()
- public Predicate __get()
- // Inherited methods from PredicateSet
- public void __construct()
- public PredicateSet addPredicate()
- public void addPredicates()
- public array getPredicates()
- public PredicateSet orPredicate()
- public PredicateSet andPredicate()
- public array getExpressionData()
- public int count()
Hierarchy
Extends
Constants
Name | Value |
---|---|
COMBINED_BY_AND | 'AND' |
OP_AND | 'AND' |
COMBINED_BY_OR | 'OR' |
OP_OR | 'OR' |
Members
protected
- $defaultCombination
- $nextPredicateCombineOperator
- $predicates
- $unnest
Methods
Inherited from Zend\Db\Sql\Predicate\Predicate
public
- __get() — Overloading
- between() — Create "between" predicate
- equalTo() — Create "Equal To" predicate
- expression() — Create an expression, with parameter placeholders
- greaterThan() — Create "Greater Than" predicate
- greaterThanOrEqualTo() — Create "Greater Than Or Equal To" predicate
- in() — Create "IN" predicate
- isNotNull() — Create "IS NOT NULL" predicate
- isNull() — Create "IS NULL" predicate
- lessThan() — Create "Less Than" predicate
- lessThanOrEqualTo() — Create "Less Than Or Equal To" predicate
- like() — Create "Like" predicate
- literal() — Create "Literal" predicate
- nest() — Begin nesting predicates
- notEqualTo() — Create "Not Equal To" predicate
- notIn() — Create "NOT IN" predicate
- notLike() — Create "notLike" predicate
- setUnnest() — Indicate what predicate will be unnested
- unnest() — Indicate end of nested predicate
Inherited from Zend\Db\Sql\Predicate\PredicateSet
public
- addPredicate() — Add predicate to set
- addPredicates()
- andPredicate() — Add predicate using AND operator
- count() — Get count of attached predicates
- getExpressionData() — Get predicate parts for where statement
- getPredicates() — Return the predicates
- orPredicate() — Add predicate using OR operator