Class: Arel::Deletion
- Defined in:
- lib/arel/algebra/relations/writes.rb
Instance Attribute Summary
Attributes inherited from Compound
Attributes included from Relation
Instance Method Summary collapse
Methods inherited from Compound
#attributes, #column_for, #externalizable?, #initialize, #join?, #joins, #name, #skipped, #sources, #table, #table_alias, #table_sql, #taken, #unoperated_rows
Methods included from Relation
#[], #alias, #attributes, #bind, #christener, #compiler, #delete, #each, #exclusion_predicate_sql, #externalizable?, #externalize, #find_attribute_matching_name, #from, #from_clauses, #group_clauses, #groupings, #having_clauses, #havings, #inclusion_predicate_sql, #insert, #inserts, #join, #join?, #joins, #lock, #locked, #order_clauses, #orders, #outer_join, #position_of, #primary_key, #project, #projections, #select_clauses, #session, #skip, #skipped, #sources, #take, #taken, #update, #where, #where_clauses, #wheres
Constructor Details
This class inherits a constructor from Arel::Compound
Instance Method Details
#call ⇒ Object
6 7 8 |
# File 'lib/arel/algebra/relations/writes.rb', line 6 def call engine.delete(self) end |
#to_sql ⇒ Object
10 11 12 |
# File 'lib/arel/algebra/relations/writes.rb', line 10 def to_sql compiler.delete_sql end |