# File lib/dm-core/adapters/data_objects_adapter.rb, line 77 def update(attributes, query) statement = update_statement(attributes.keys, query) bind_values = attributes.values + query.bind_values execute(statement, *bind_values).to_i end