/** * Append a GROUP BY clause to this query. * * @param string $groupby Escaped SQL statement * @return $this */ public function groupby($groupby) { $this->query->addGroupBy($groupby); return $this; }