Addition of a bunch of helper relationship methods
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Relationship.pm
1 package DBIx::Class::Relationship;
2
3 use strict;
4 use warnings;
5
6 use base qw/DBIx::Class Class::Data::Inheritable/;
7
8 __PACKAGE__->load_own_components(qw/
9   HasMany
10   HasOne
11   BelongsTo
12   Accessor
13   CascadeActions
14   ProxyMethods
15   Base
16 /);
17
18 __PACKAGE__->mk_classdata('_relationships', { } );
19
20 =head1 NAME 
21
22 DBIx::Class::Relationship - Inter-table relationships
23
24 =head1 SYNOPSIS
25
26 =head1 DESCRIPTION
27
28 This class handles relationships between the tables in your database
29 model. It allows your to set up relationships, and to perform joins
30 on searches.
31
32 =head1 METHODS
33
34 =over 4
35
36 =cut
37
38 1;
39
40 =back
41
42 =head1 AUTHORS
43
44 Matt S. Trout <mst@shadowcatsystems.co.uk>
45
46 =head1 LICENSE
47
48 You may distribute this code under the same terms as Perl itself.
49
50 =cut
51