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

              
                                               

                          



                             
 

                                                
         


                               
                             
         


       
module Arel
  module Nodes
    class DeleteStatement < Arel::Nodes::Binary
      attr_accessor :limit

      alias :relation :left
      alias :relation= :left=
      alias :wheres :right
      alias :wheres= :right=

      def initialize relation = nil, wheres = []
        super
      end

      def initialize_copy other
        super
        @right = @right.clone
      end
    end
  end
end