src/SelectQuery.php
public function andHaving(array $conditions)
    {
        $this->changed = true;
        $this->having = [
            'AND',
            $this->having,
            $conditions,
        ];

        return $this;
    }
public function andHaving(array $conditions)
    {
        $this->changed = true;
        $this->having = [
            'AND',
            $this->having,
            $conditions,
        ];

        return $this;
    }
Add AND conditions for groups in HAVING clauses.

NOTE: Placeholders in HAVING clauses don't work with SQLite, according to
the PHP bug referenced in the @see tag below.

@param array $conditions
@return self
@see https://bugs.php.net/bug.php?id=60281