Private instance methods used to implement the associations support.
Used internally by the associations code, like pk but doesn‘t raise an Error if the model has no primary key.
[Source]
# File lib/sequel/model/associations.rb, line 941 941: def pk_or_nil 942: key = primary_key 943: key.is_a?(Array) ? key.map{|k| @values[k]} : @values[key] 944: end
[Validate]