The AssociationReflection subclass for many_through_many associations.
many_through_many and one_through_many associations can be clones
# File lib/sequel/plugins/many_through_many.rb, line 87 def cloneable?(ref) ref[:type] == :many_through_many || ref[:type] == :one_through_many end
The default associated key alias(es) to use when eager loading associations via eager.
# File lib/sequel/plugins/many_through_many.rb, line 93 def default_associated_key_alias self[:uses_left_composite_keys] ? (0...self[:through].first[:left].length).map{|i| :"x_foreign_key_#{i}_x"} : :x_foreign_key_x end
# File lib/sequel/plugins/many_through_many.rb, line 112 def finalize_settings FINALIZE_SETTINGS end
The alias for the first join table.
# File lib/sequel/plugins/many_through_many.rb, line 117 def join_table_alias final_reverse_edge[:alias] end
Many through many associations don’t have a reciprocal
# File lib/sequel/plugins/many_through_many.rb, line 122 def reciprocal nil end