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 842 842: def pk_or_nil 843: key = primary_key 844: key.is_a?(Array) ? key.map{|k| @values[k]} : @values[key] 845: end
[Validate]