Module: Sequel::Plugins::IdentityMap::InstanceMethods

Defined in:
lib/sequel/lib/sequel/plugins/identity_map.rb

Instance Method Summary collapse

Instance Method Details

#merge_db_update(row) ⇒ Object

Merge the current values into the values provided in the row, ensuring that current values are not overridden by new values.


85
86
87
# File 'lib/sequel/lib/sequel/plugins/identity_map.rb', line 85

def merge_db_update(row)
  @values = row.merge(@values)
end