public function groupby($groupBy = null): Select
    {
        if (!\is_string($groupBy) && !\is_array($groupBy)) {
            throw new InvalidArgumentException('$groupBy has to be an array or a string');
        }
        $this->groupBy = $this->namesClass->parse($groupBy);

        return $this;
    }