reverse_order()
Instance Public methods
Reverse the existing order clause on the relation.
1 | User.order( 'name ASC' ).reverse_order # generated SQL has 'ORDER BY name DESC' |
Reverse the existing order clause on the relation.
1 | User.order( 'name ASC' ).reverse_order # generated SQL has 'ORDER BY name DESC' |
Designed by : w10schools
service@w10schools.com
Please login to continue.