/** * Set group by * * @param string $key * @param string $direction * @return \Kanso\Database\Query\Builder */ public function GROUP_BY($key) { $key = $this->queryFilter($key); $this->Query->group_by($key); return $this; }