module Sequel::Plugins::UpdatePrimaryKey::InstanceMethods
Public Instance Methods
after_update()
click to toggle source
Clear the cached primary key.
Calls superclass method
# File lib/sequel/plugins/update_primary_key.rb 27 def after_update 28 super 29 @pk_hash = nil 30 end
pk_hash()
click to toggle source
Use the cached primary key if one is present.
Calls superclass method
# File lib/sequel/plugins/update_primary_key.rb 33 def pk_hash 34 @pk_hash || super 35 end