Method | Description | |
---|---|---|
__construct ( $context ) | ||
orderBy ( string $column, string $order = null ) : |
orderBy('column') => "ORDER BY column" orderBy('column', Sql::$ORDER_BY_ASC) => "ORDER BY column ASC" orderBy('column0')->orderBy('column1') => "ORDER BY column0, column1" | |
orderByArgs ( array $args ) : |
orderByArgs(['column0', 'column1'=>Sql::$ORDER_BY_ASC]) => "ORDER BY column0,column1 ASC" |
public orderByArgs ( array $args ) : |
||
$args | array | |
return |