Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Alias 'order_by' with 'order' #194
I am in the process of converting an app from using Postgres to RethinkDB and with active record, you could call Model.order(id: :desc) however with NoBrainer, it must be Model.order_by(id: :desc).
Is it possible to have an alias for order_by so I can call Model.order() instead. Would save a lot of time altering all the order() calls and also make it easier to switch between different ORMs if needed.