src/FelixOnline/Base/BaseManager.php
protected function getGroup($tableless = false)
    {
        if ($this->group) {
            $group = "GROUP BY ";

            $first = true;

            foreach ($this->group as $groupCol) {
                if (!$first) {
                    $group .= ", ";
                }

                $group .= $this->getColumnReference($groupCol, $tableless);

                $first = false;
            }

            return $group;
        }
        return null;
    }
protected function getGroup($tableless = false)
    {
        if ($this->group) {
            $group = "GROUP BY ";

            $first = true;

            foreach ($this->group as $groupCol) {
                if (!$first) {
                    $group .= ", ";
                }

                $group .= $this->getColumnReference($groupCol, $tableless);

                $first = false;
            }

            return $group;
        }
        return null;
    }
Group