The AssociationReflection subclass for many_through_many associations.
The table containing the column to use for the associated key when eagerly loading
# File lib/sequel/plugins/many_through_many.rb, line 51 def associated_key_table self[:associated_key_table] = self[:final_reverse_edge][:alias] end
The default associated key alias(es) to use when eager loading associations via eager.
# File lib/sequel/plugins/many_through_many.rb, line 57 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
The list of joins to use when eager graphing
# File lib/sequel/plugins/many_through_many.rb, line 62 def edges self[:edges] || calculate_edges || self[:edges] end
Generated with the Darkfish Rdoc Generator 2.