Method: Sequel::Model::Associations::ManyToManyAssociationReflection#predicate_key

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

#predicate_keyObject Also known as: qualified_left_key

The hash key to use for the eager loading predicate (left side of IN (1, 2, 3)). The left key qualified by the join table.



1350
1351
1352
# File 'lib/sequel/model/associations.rb', line 1350

def predicate_key
  cached_fetch(:predicate_key){qualify(join_table_alias, self[:left_key])}
end