public function groupBy($column)
    {
        if (Helpers\Validate::table($this->name)->field($column))
        {
            $this->resetKeys             = 0;
            $this->pending[__FUNCTION__] = $column;
        }

        return $this;
    }
public function groupBy($column)
    {
        if (Helpers\Validate::table($this->name)->field($column))
        {
            $this->resetKeys             = 0;
            $this->pending[__FUNCTION__] = $column;
        }

        return $this;
    }
public function groupBy ( $ column ) { if ( Helpers \ Validate :: table ( $ this -> name ) -> field ( $ column ) ) { $ this -> resetKeys = 0 ; $ this -> pending [ __FUNCTION__ ] = $ column ; } return $ this ; }
Grouping results by one field
@param string $column
@return self
Grouping results by one field