Class: Arel::Nodes::DeleteStatement

Inherits:
Binary show all
Defined in:
lib/arel/nodes/delete_statement.rb

Instance Attribute Summary

Attributes inherited from Binary

#left, #right

Instance Method Summary collapse

Methods inherited from Binary

#eql?, #hash

Methods inherited from Node

#_caller, #and, #each, #not, #or, #to_sql

Methods included from FactoryMethods

#create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, #lower

Constructor Details

#initialize(relation = nil, wheres = []) ⇒ DeleteStatement


9
10
11
# File 'lib/arel/nodes/delete_statement.rb', line 9

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

Instance Method Details

#initialize_copy(other) ⇒ Object


13
14
15
16
# File 'lib/arel/nodes/delete_statement.rb', line 13

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