| 1 | package DBIx::Class::Core; | ||
| 2 | |||
| 3 | 308 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 308 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 308 | ▶ | use base qw/DBIx::Class/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 308 | __PACKAGE__->load_components(qw/ | |
| 9 | Relationship | ||
| 10 | InflateColumn | ||
| 11 | PK::Auto | ||
| 12 | PK | ||
| 13 | Row | ||
| 14 | ResultSourceProxy::Table | ||
| 15 | /); | ||
| 16 | |||
| 17 | 308 | 1; | |
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | DBIx::Class::Core - Core set of DBIx::Class modules | ||
| 22 | |||
| 23 | =head1 SYNOPSIS | ||
| 24 | |||
| 25 | # In your result (table) classes | ||
| 26 | use base 'DBIx::Class::Core'; | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class just inherits from the various modules that make up the | ||
| 31 | L<DBIx::Class> core features. You almost certainly want these. | ||
| 32 | |||
| 33 | The core modules currently are: | ||
| 34 | |||
| 35 | =over 4 | ||
| 36 | |||
| 37 | =item L<DBIx::Class::InflateColumn> | ||
| 38 | |||
| 39 | =item L<DBIx::Class::Relationship> (See also L<DBIx::Class::Relationship::Base>) | ||
| 40 | |||
| 41 | =item L<DBIx::Class::PK::Auto> | ||
| 42 | |||
| 43 | =item L<DBIx::Class::PK> | ||
| 44 | |||
| 45 | =item L<DBIx::Class::Row> | ||
| 46 | |||
| 47 | =item L<DBIx::Class::ResultSourceProxy::Table> (See also L<DBIx::Class::ResultSource>) | ||
| 48 | |||
| 49 | =back | ||
| 50 | |||
| 51 | A better overview of the methods found in a Result class can be found | ||
| 52 | in L<DBIx::Class::Manual::ResultClass>. | ||
| 53 | |||
| 54 | =head1 AUTHOR AND CONTRIBUTORS | ||
| 55 | |||
| 56 | See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class | ||
| 57 | |||
| 58 | =head1 LICENSE | ||
| 59 | |||
| 60 | You may distribute this code under the same terms as Perl itself. | ||
| 61 | |||
| 62 | =cut | ||