Class Index [+]

Quicksearch

Sequel::Plugins::UpdatePrimaryKey::InstanceMethods

Public Instance Methods

after_update() click to toggle source

Clear the pk_hash and object dataset cache, and recache the pk_hash

    # File lib/sequel/plugins/update_primary_key.rb, line 35
35:         def after_update
36:           super
37:           @pk_hash = nil
38:           pk_hash
39:         end
pk_hash() click to toggle source

Cache the pk_hash instead of generating it every time

    # File lib/sequel/plugins/update_primary_key.rb, line 42
42:         def pk_hash
43:           @pk_hash ||= super
44:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.