Cake\Database\Query::andHaving PHP Метод

andHaving() публичный Метод

Connects any previously defined set of conditions to the provided list using the AND operator in the HAVING clause. This method operates in exactly the same way as the method andWhere() does. Please refer to its documentation for an insight on how to using each parameter.
См. также: Cake\Database\Query::andWhere()
public andHaving ( string | array | Cake\Database\ExpressionInterface | callable $conditions, array $types = [] )
$conditions string | array | Cake\Database\ExpressionInterface | callable The AND conditions for HAVING.
$types array associative array of type names used to bind values to query
    public function andHaving($conditions, $types = [])
    {
        $this->_conjugate('having', $conditions, 'AND', $types);
        return $this;
    }