diff options
Diffstat (limited to 'lib/arel/nodes/update_statement.rb')
-rw-r--r-- | lib/arel/nodes/update_statement.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/arel/nodes/update_statement.rb b/lib/arel/nodes/update_statement.rb index 7a1ce9a7b1..6f21187eb1 100644 --- a/lib/arel/nodes/update_statement.rb +++ b/lib/arel/nodes/update_statement.rb @@ -1,12 +1,14 @@ module Arel module Nodes class UpdateStatement - attr_accessor :relation, :wheres, :values + attr_accessor :relation, :wheres, :values, :orders, :limit def initialize @relation = nil @wheres = [] @values = [] + @orders = [] + @limit = nil end def initialize_copy other |