Module: Sequel::Plugins::UpdateRefresh::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#after_updateObject

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



60
61
62
63
64
65
# File 'lib/sequel/plugins/update_refresh.rb', line 60

def after_update
  super
  unless this.supports_returning?(:update)
    refresh
  end
end