Method: Sequel::Model::Associations::ManyToOneAssociationReflection#primary_keys

Defined in:
lib/sequel/model/associations.rb

#primary_keysObject Also known as: associated_object_keys

The columns in the associated table that the key in the current table references (always an array).



920
921
922
# File 'lib/sequel/model/associations.rb', line 920

def primary_keys
 cached_fetch(:primary_keys){Array(primary_key)}
end