module Sequel::Plugins::PrimaryKeyLookupCheckValues::DatasetMethods
Public Instance Methods
with_pk(pk)
click to toggle source
Skip the primary key lookup if the typecasted and checked primary key value is nil.
Calls superclass method
# File lib/sequel/plugins/primary_key_lookup_check_values.rb, line 145 def with_pk(pk) unless nil == (pk = model.send(:_check_pk_lookup_value, pk)) super end end