Class: Arel::Nodes::DeleteStatement
- Defined in:
- lib/arel/nodes/delete_statement.rb
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
-
#initialize(relation = nil, wheres = []) ⇒ DeleteStatement
constructor
A new instance of DeleteStatement.
- #initialize_copy(other) ⇒ Object
Methods inherited from Binary
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
Returns a new instance of 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 |