mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
19 lines
342 B
Ruby
19 lines
342 B
Ruby
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.clone
|
|
@values = @values.clone
|
|
end
|
|
end
|
|
end
|
|
end
|