Module Sequel::Plugins::UpdatePrimaryKey::InstanceMethods
In: lib/sequel/plugins/update_primary_key.rb

Methods

Public Instance methods

Clear the cached primary key.

[Source]

    # File lib/sequel/plugins/update_primary_key.rb, line 25
25:         def after_update
26:           super
27:           @pk_hash = nil
28:         end

Use the cached primary key if one is present.

[Source]

    # File lib/sequel/plugins/update_primary_key.rb, line 31
31:         def pk_hash
32:           @pk_hash || super
33:         end

[Validate]