module Sequel::Plugins::UpdatePrimaryKey::ClassMethods

Public Instance Methods

call(h) click to toggle source

Cache the pk_hash when loading records

# File lib/sequel/plugins/update_primary_key.rb, line 25
def call(h)
  r = super(h)
  r.pk_hash
  r
end