Commit | Line | Data |
---|---|---|
ea2e61bf | 1 | package DBIx::Class::Core; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
223b8fe3 | 5 | no warnings 'qw'; |
ea2e61bf | 6 | |
126042ee | 7 | use base qw/DBIx::Class/; |
8 | ||
9 | __PACKAGE__->load_components(qw/ | |
126042ee | 10 | InflateColumn |
438adc0e | 11 | Relationship |
126042ee | 12 | PK |
7624b19f | 13 | Row |
cda04c3a | 14 | TableInstance |
126042ee | 15 | Exception |
43bfe414 | 16 | AccessorGroup/); |
ea2e61bf | 17 | |
18 | 1; | |
34d52be2 | 19 | |
20 | =head1 NAME | |
21 | ||
662e8798 | 22 | DBIx::Class::Core - Core set of DBIx::Class modules |
23 | ||
24 | =head1 SYNOPSIS | |
25 | ||
26 | # In your table classes | |
27 | __PACKAGE__->load_components(qw/Core/); | |
34d52be2 | 28 | |
29 | =head1 DESCRIPTION | |
30 | ||
662e8798 | 31 | This class just inherits from the various modules that make up the |
32 | L<DBIx::Class> core features. You almost certainly want these. | |
34d52be2 | 33 | |
662e8798 | 34 | The core modules currently are: |
076652e8 | 35 | |
36 | =over 4 | |
37 | ||
38 | =item L<DBIx::Class::InflateColumn> | |
39 | ||
40 | =item L<DBIx::Class::Relationship> | |
41 | ||
42 | =item L<DBIx::Class::PK> | |
43 | ||
44 | =item L<DBIx::Class::Row> | |
45 | ||
662e8798 | 46 | =item L<DBIx::Class::TableInstance> |
076652e8 | 47 | |
48 | =item L<DBIx::Class::Exception> | |
49 | ||
50 | =item L<DBIx::Class::AccessorGroup> | |
51 | ||
52 | =back | |
34d52be2 | 53 | |
662e8798 | 54 | If you are also using a L<DBIx::Class::PK::Auto> component, please |
55 | make sure you load it correctly. Refer to | |
56 | L<DBIx::Class::PK::Auto/DESCRIPTION> for more information. | |
57 | ||
34d52be2 | 58 | =head1 AUTHORS |
59 | ||
daec44b8 | 60 | Matt S. Trout <mst@shadowcatsystems.co.uk> |
34d52be2 | 61 | |
62 | =head1 LICENSE | |
63 | ||
64 | You may distribute this code under the same terms as Perl itself. | |
65 | ||
66 | =cut |