|
TableSelect::orderbySet select sort criteria Description
public mysql_xdevapi\TableSelect mysql_xdevapi\TableSelect::orderby(mixed
$sort_expr , mixed ...$sort_exprs )Sets the order by criteria. Parameters
Return ValuesA TableSelect object. ExamplesExample #1 mysql_xdevapi\TableSelect::orderBy example
The above example will output something similar to: Array ( [0] => Array ( [name] => Sam [age] => 42 ) [1] => Array ( [name] => John [age] => 42 ) ) |