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


                         
                                               



                       
                      
         


                               

                               
         


       
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