aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/insert_statement.rb
blob: a5e1a0bb9bc5029a6dd5355f294d6485481aa5b8 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                
                       
         


                               
                                 
                                           
         


       
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