public function having(array $having, $type = 'AND') { $this->builder()->having(implode(' ' . $type . ' ', $this->parseWhereToSQLFragments($having, false))); return $this; }