Method: Sequel::Model::Associations::ManyToManyAssociationReflection#right_primary_key

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

#right_primary_keyObject

The primary key column(s) to use in the associated table (can be symbol or array).



1393
1394
1395
# File 'lib/sequel/model/associations.rb', line 1393

def right_primary_key
  cached_fetch(:right_primary_key){associated_class.primary_key || raise(Error, "no primary key specified for #{associated_class.inspect}")}
end