Class: Arel::Nodes::UpdateStatement
    Do not use.  This class is for internal use only.
  
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| 
         Class Chain: 
        
          self,
           
      Node
         | 
    |
| 
         Instance Chain: 
        
          self,
           
      Node,
          ::Arel::FactoryMethods
         | 
    |
| Inherits: | 
        Arel::Nodes::Node
        
  | 
    
| Defined in: | activerecord/lib/arel/nodes/update_statement.rb | 
Class Method Summary
- .new(relation = nil) ⇒ UpdateStatement constructor
 
Instance Attribute Summary
- #comment rw
 - #groups rw
 - #havings rw
 - #key rw
 - #limit rw
 - #offset rw
 - #orders rw
 - #relation rw
 - #values rw
 - #wheres rw
 
Node - Inherited
Instance Method Summary
- 
    
      #==(other)  
    
    
Alias for #eql?.
 - #eql?(other) ⇒ Boolean (also: #==)
 - #hash
 - #initialize_copy(other)
 
Node - Inherited
| #and | Factory method to create an And node.  | 
    
| #fetch_attribute, #invert, | |
| #not | Factory method to create a   | 
    
| #or | |
| #to_sql | FIXME: this method should go away.  | 
    
::Arel::FactoryMethods - Included
| #cast, #coalesce, #create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, | |
| #lower | Create a LOWER() function.  | 
    
Constructor Details
    .new(relation = nil)  ⇒ UpdateStatement 
  
Instance Attribute Details
#comment (rw)
[ GitHub ]#groups (rw)
[ GitHub ]#havings (rw)
[ GitHub ]#key (rw)
[ GitHub ]#limit (rw)
[ GitHub ]#offset (rw)
[ GitHub ]#orders (rw)
[ GitHub ]#relation (rw)
[ GitHub ]#values (rw)
[ GitHub ]#wheres (rw)
[ GitHub ]Instance Method Details
#==(other)
Alias for #eql?.
# File 'activerecord/lib/arel/nodes/update_statement.rb', line 45
alias :== :eql?
    #eql?(other)  ⇒ Boolean 
    Also known as: #==
  
# File 'activerecord/lib/arel/nodes/update_statement.rb', line 32
def eql?(other) self.class == other.class && self.relation == other.relation && self.wheres == other.wheres && self.values == other.values && self.groups == other.groups && self.havings == other.havings && self.orders == other.orders && self.limit == other.limit && self.offset == other.offset && self.comment == other.comment && self.key == other.key end
#hash
[ GitHub ]# File 'activerecord/lib/arel/nodes/update_statement.rb', line 28
def hash [@relation, @wheres, @values, @orders, @limit, @offset, @comment, @key].hash end
#initialize_copy(other)
[ GitHub ]# File 'activerecord/lib/arel/nodes/update_statement.rb', line 22
def initialize_copy(other) super @wheres = @wheres.clone @values = @values.clone end