module Sequel::Plugins::UpdateRefresh::InstanceMethods

Public Instance Methods

after_update() click to toggle source

If the dataset does not support UPDATE RETURNING, then refresh after an update.

# File lib/sequel/plugins/update_refresh.rb, line 60
def after_update
  super
  unless this.supports_returning?(:update)
    refresh
  end
end