/** * Set the HAVING clause of this query * * @param String $having Escaped SQL statement */ public function having($having) { if ($having) { $this->query->addHaving($having); } return $this; }