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