module Sequel::Plugins::UpdatePrimaryKey::ClassMethods

  1. lib/sequel/plugins/update_primary_key.rb

Methods

Public Instance

  1. call

Public Instance methods

call (h)

Cache the pk_hash when loading records

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