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


                         
                                                                



                       
                      

                     
         


                               

                               
         


       
module Arel
  module Nodes
    class UpdateStatement
      attr_accessor :relation, :wheres, :values, :orders, :limit

      def initialize
        @relation = nil
        @wheres   = []
        @values   = []
        @orders = []
        @limit  = nil
      end

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