You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd be up for trying to write a pull-request, any hints on where to start? I'm guessing that I'd need to make a new node in lib/arel/nodes as a subclass of Function or at the bottom of lib/arel/nodes/function with Sum, Max, Min, etc ...
The text was updated successfully, but these errors were encountered:
It would be awesome if arel supported
least
andgreatest
.Here's the documentation I've found for postgres and mysql.
http://www.postgresql.org/docs/current/static/functions-conditional.html#FUNCTIONS-GREATEST-LEAST
http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#function_least
I'd be up for trying to write a pull-request, any hints on where to start? I'm guessing that I'd need to make a new node in
lib/arel/nodes
as a subclass of Function or at the bottom oflib/arel/nodes/function
with Sum, Max, Min, etc ...The text was updated successfully, but these errors were encountered: