src/Phossa2/Query/Traits/Clause/GroupTrait.php
protected function realGroup(
        $col,
        /*# sting */ $suffix = '',
        /*# bool */ $rawMode = false
    ) {
    
        if (is_array($col)) {
            $this->multipleGroup($col, $suffix);
        } else {
            $clause = &$this->getClause('GROUP BY');
            $part = [$col, $this->isRaw($col, $rawMode)];
            if (!empty($suffix)) {
                $part[] = $suffix;
            }
            $clause[] = $part;
        }
        return $this;
    }
protected function realGroup(
        $col,
        /*# sting */ $suffix = '',
        /*# bool */ $rawMode = false
    ) {
    
        if (is_array($col)) {
            $this->multipleGroup($col, $suffix);
        } else {
            $clause = &$this->getClause('GROUP BY');
            $part = [$col, $this->isRaw($col, $rawMode)];
            if (!empty($suffix)) {
                $part[] = $suffix;
            }
            $clause[] = $part;
        }
        return $this;
    }
protected function realGroup ( $ col , /*# sting */ $ suffix = '' , /*# bool */ $ rawMode = false ) { if ( is_array ( $ col ) ) { $ this -> multipleGroup ( $ col , $ suffix ) ; } else { $ clause = & $ this -> getClause ( 'GROUP BY' ) ; $ part = [ $ col , $ this -> isRaw ( $ col , $ rawMode ) ] ; if ( ! empty ( $ suffix ) ) { $ part [ ] = $ suffix ; } $ clause [ ] = $ part ; } return $ this ; }
real group by
@param  string|string[]|Template $col column[s]
@param  string $suffix ''|ASC|DESC
@param  bool $rawMode
@return $this
@access protected
real group by