Method: Sequel::Plugins::Caching::ClassMethods#cache_get_pk
- Defined in:
- lib/sequel/plugins/caching.rb
permalink #cache_get_pk(pk) ⇒ Object
Return the cached object with the given primary key, or nil if no such object is in the cache.
73 74 75 |
# File 'lib/sequel/plugins/caching.rb', line 73 def cache_get_pk(pk) cache_get(cache_key(pk)) end |