Base
/);
-__PACKAGE__->mk_classdata('_relationships', { } );
-
-sub relationships
-{
- my $self = shift;
-
- return keys %{$self->_relationships};
-}
-
-sub relationship_info
-{
- my $self = shift;
- my ($rel) = @_;
-
- return $self->_relationships->{$rel};
-}
-
=head1 NAME
DBIx::Class::Relationship - Inter-table relationships
whereas C<might_have> uses a left join.
-=head2 many_to_many
-
- __PACKAGE__->many_to_many( 'accessorname' => 'a_to_b', 'table_b' );
- my @f_objs = $obj_a->accessorname;
+=head2 many_to_many
+
+ __PACKAGE__->many_to_many( 'accessorname' => 'a_to_b', 'table_b' );
+ my @f_objs = $obj_a->accessorname;
+
+Creates an accessor bridging two relationships; not strictly a relationship
+in its own right, although the accessor will return a resultset or collection
+of objects just as a has_many would.
=cut