blob: 27e3e4e6ac25d0b5362c7fc28916456da4010b2d (
plain) (
tree)
|
|
module Arel
module Nodes
class UpdateStatement
attr_accessor :relation, :wheres, :values
def initialize
@relation = nil
@wheres = []
@values = []
end
def initialize_copy other
super
@wheres = @wheres.map { |o| o.clone }
@values = @values.map { |o| o.clone }
end
end
end
end
|