diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/update_manager.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/update_manager.rb b/lib/arel/update_manager.rb index f13aeb0a8c..56e219040c 100644 --- a/lib/arel/update_manager.rb +++ b/lib/arel/update_manager.rb @@ -15,6 +15,10 @@ module Arel @ast.key = key end + def key + @ast.key + end + def order *expr @ast.orders = expr self |