public function andHaving(...$condition)
{
$condition = $this->prepareCondition($condition);
$having = $this->getQueryPart('having');
if ($having instanceof CompositeBuilder && $having->getType() == 'AND') {
$having->add($condition);
} else {
$having = new CompositeBuilder([$having, $condition]);
}
return $this->addQueryPart('having', $having, false);
}