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/insert_statement.rb

19 lines
358 B
Ruby

module Arel
module Nodes
class InsertStatement
attr_accessor :relation, :columns, :values
def initialize
@relation = nil
@columns = []
@values = nil
end
def initialize_copy other
super
@columns = @columns.clone
@values = @values.clone if @values
end
end
end
end