mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
17 lines
274 B
Ruby
17 lines
274 B
Ruby
module Arel
|
|
module Nodes
|
|
class DeleteStatement
|
|
attr_accessor :relation, :wheres
|
|
|
|
def initialize
|
|
@from = nil
|
|
@wheres = []
|
|
end
|
|
|
|
def initialize_copy other
|
|
super
|
|
@wheres = @wheres.clone
|
|
end
|
|
end
|
|
end
|
|
end
|