module Babik::QuerySet::Updatable
Functionality related to the UPDATE operation
Public Instance Methods
update(update_command)
click to toggle source
Runs the update @param update_command [Hash{field: value}] Runs the update query.
# File lib/babik/queryset/mixins/updatable.rb, line 9 def update(update_command) self.model.connection.execute(sql.update(update_command)) end