protected function replaceHaving(Query\Expr\Andx $having, ColumnCollection $columns, QueryBuilder $queryBuilder)
    {
        foreach ($having->getParts() as $part) {
            if ($part instanceof Query\Expr\Comparison) {
                $this->replaceSingleHavingClause($part, $columns, $queryBuilder);
            }
        }
        
        $queryBuilder->resetDQLPart('having');
        $queryBuilder->resetDQLPart('groupBy');
    }