Class | Sequel::Plugins::ManyThroughMany::ManyThroughManyAssociationReflection |
In: |
lib/sequel/plugins/many_through_many.rb
|
Parent: | Sequel::Model::Associations::ManyToManyAssociationReflection |
The AssociationReflection subclass for many_through_many associations.
The default associated key alias(es) to use when eager loading associations via eager.
# File lib/sequel/plugins/many_through_many.rb, line 75 75: def default_associated_key_alias 76: self[:uses_left_composite_keys] ? (0...self[:through].first[:left].length).map{|i| "x_foreign_key_#{i}_x""x_foreign_key_#{i}_x"} : :x_foreign_key_x 77: end
Many through many associations don‘t have a reciprocal
# File lib/sequel/plugins/many_through_many.rb, line 89 89: def reciprocal 90: nil 91: end