1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/nodes/update_statement.rb

23 lines
475 B
Ruby

module Arel
module Nodes
class UpdateStatement < Arel::Nodes::Node
attr_accessor :relation, :wheres, :values, :orders, :limit
attr_accessor :key
def initialize
@relation = nil
@wheres = []
@values = []
@orders = []
@limit = nil
@key = nil
end
def initialize_copy other
super
@wheres = @wheres.clone
@values = @values.clone
end
end
end
end