Method: Sequel::Plugins::PgArrayAssociations::PgArrayToManyAssociationReflection#primary_key_method
- Defined in:
- lib/sequel/plugins/pg_array_associations.rb
permalink #primary_key_method ⇒ Object
The method to call to get value of the primary key of the associated model.
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 |