aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/insert_statement.rb
blob: 629e7a851383ed809fc6258e69bb625a3f951cdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Arel
  module Nodes
    class InsertStatement
      attr_accessor :relation, :columns, :values

      def initialize
        @relation = nil
        @columns  = []
        @values   = []
      end

      def initialize_copy other
        super
        @columns = @columns.clone
        @values =  @values.clone
      end
    end
  end
end