Method: Cequel::Record::BulkWrites#update_all

Defined in:
lib/cequel/record/bulk_writes.rb

#update_all(attributes) ⇒ void

This method returns an undefined value.

Update all matched records with the given column values, without executing callbacks.

Parameters:

  • attributes (Hash)

    map of column names to values

Since:

  • 1.0.0



22
23
24
# File 'lib/cequel/record/bulk_writes.rb', line 22

def update_all(attributes)
  each_data_set { |data_set| data_set.update(attributes) }
end