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 27
27:         def after_update
28:           super
29:           @pk_hash = nil
30:         end

Use the cached primary key if one is present.

[Source]

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

[Validate]