X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FCore.pm;h=39407dc848297365877c1af0ad9e2b939a8517ef;hb=fcf32d045;hp=c90d7bc2cc7d8895e3f5670e515dbc9588939b96;hpb=ea2e61bf5bb7187dc5e56513cd66c272d71d5074;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Core.pm b/lib/DBIx/Class/Core.pm index c90d7bc..39407dc 100644 --- a/lib/DBIx/Class/Core.pm +++ b/lib/DBIx/Class/Core.pm @@ -3,6 +3,60 @@ package DBIx::Class::Core; use strict; use warnings; -use base qw/DBIx::Class::Table DBIx::Class::SQL DBIx::Class::DB/; +use base qw/DBIx::Class/; + +__PACKAGE__->load_components(qw/ + Relationship + InflateColumn + PK::Auto + PK + Row + ResultSourceProxy::Table +/); 1; + +=head1 NAME + +DBIx::Class::Core - Core set of DBIx::Class modules + +=head1 SYNOPSIS + + # In your result (table) classes + use base 'DBIx::Class::Core'; + +=head1 DESCRIPTION + +This class just inherits from the various modules that make up the +L core features. You almost certainly want these. + +The core modules currently are: + +=over 4 + +=item L + +=item L (See also L) + +=item L + +=item L + +=item L + +=item L (See also L) + +=back + +A better overview of the methods found in a Result class can be found +in L. + +=head1 AUTHOR AND CONTRIBUTORS + +See L and L in DBIx::Class + +=head1 LICENSE + +You may distribute this code under the same terms as Perl itself. + +=cut