Class/Module Index [+]

Quicksearch

Sequel::Plugins::UpdatePrimaryKey::InstanceMethods

Public Instance Methods

after_update() click to toggle source

Clear the cached primary key.

# File lib/sequel/plugins/update_primary_key.rb, line 25
def after_update
  super
  @pk_hash = nil
end
pk_hash() click to toggle source

Use the cached primary key if one is present.

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.