module Sequel::Plugins::UpdateRefresh::InstanceMethods

  1. lib/sequel/plugins/update_refresh.rb

Methods

Public Instance

  1. after_update

Public Instance methods

after_update()

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

[show source]
   # File lib/sequel/plugins/update_refresh.rb
60 def after_update
61   super
62   unless this.supports_returning?(:update)
63     refresh
64   end
65 end