Method: Sequel::Plugins::PgArrayAssociations::PgArrayToManyAssociationReflection#primary_key_method

Defined in:
lib/sequel/plugins/pg_array_associations.rb

#primary_key_methodObject

The method to call to get value of the primary key of the associated model.

[View source]

265
266
267
# File 'lib/sequel/plugins/pg_array_associations.rb', line 265

def primary_key_method
  cached_fetch(:primary_key_method){primary_key}
end