within() public method
Sets the WITHIN GROUP ORDER BY part of the query.
See also addWithin().
public $this within ( $columns ) | ||
---|---|---|
$columns | string|array |
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. |
return | $this |
The query object itself |
Please login to continue.