Class: Arel::Update
- Defined in:
- lib/arel/algebra/relations/writes.rb
Instance Attribute Summary
Attributes inherited from Insert
Attributes inherited from Compound
Attributes included from Relation
Instance Method Summary collapse
Methods inherited from Insert
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::Insert
Instance Method Details
#call ⇒ Object
39 40 41 |
# File 'lib/arel/algebra/relations/writes.rb', line 39 def call engine.update(self) end |
#to_sql ⇒ Object
43 44 45 |
# File 'lib/arel/algebra/relations/writes.rb', line 43 def to_sql compiler.update_sql end |