debian-mirror-gitlab/debian/gems-compat/arel-8.0.0/lib/arel/nodes/delete_statement.rb

22 lines
426 B
Ruby

# frozen_string_literal: true
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