/** * Sets having clause, more calls rewrite old value. * @param string * @return self */ public function having($having, ...$params) { $this->emptyResultSet(); $this->sqlBuilder->setHaving($having, ...$params); return $this; }