public function addWithin($columns)
    {
        $columns = $this->normalizeOrderBy($columns);
        if ($this->within === null) {
            $this->within = $columns;
        } else {
            $this->within = array_merge($this->within, $columns);
        }

        return $this;
    }
public function addWithin($columns)
    {
        $columns = $this->normalizeOrderBy($columns);
        if ($this->within === null) {
            $this->within = $columns;
        } else {
            $this->within = array_merge($this->within, $columns);
        }

        return $this;
    }
public function addWithin ( $ columns ) { $ columns = $ this -> normalizeOrderBy ( $ columns ) ; if ( $ this -> within === null ) { $ this -> within = $ columns ; } else { $ this -> within = array_merge ( $ this -> within , $ columns ) ; } return $ this ; }
Adds additional WITHIN GROUP ORDER BY columns to the query.
@param string|array $columns the columns (and the directions) to find best row within a group.
Columns can be specified in either a string (e.g. "id ASC, name DESC") or an array
(e.g. `['id' => Query::SORT_ASC, 'name' => Query::SORT_DESC]`).
The method will automatically quote the column names unless a column contains some parenthesis
(which means the column contains a DB expression).
@return $this the query object itself
@see within()
Adds additional WITHIN GROUP ORDER BY columns to the query .