X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FCore.pm;h=9c6b30684d41c93baa7d44bd384940f8e30b864a;hb=dc7d89911b7bb98c30208cf73af522a99998dcd6;hp=fb412cc1c48b40c8495ca9f01aa216b479b626d8;hpb=12bbb33986a29dc27dd3e2b9d082a87f50124ec1;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Core.pm b/lib/DBIx/Class/Core.pm index fb412cc..9c6b306 100644 --- a/lib/DBIx/Class/Core.pm +++ b/lib/DBIx/Class/Core.pm @@ -3,12 +3,63 @@ package DBIx::Class::Core; use strict; use warnings; -use base qw/DBIx::Class::Relationship - DBIx::Class::SQL::Abstract - DBIx::Class::PK - DBIx::Class::Table - DBIx::Class::SQL - DBIx::Class::DB - DBIx::Class::AccessorGroup/; +use base qw/DBIx::Class/; + +__PACKAGE__->load_components(qw/ + Relationship + InflateColumn + PK::Auto + PK + Row + ResultSourceProxy::Table +/); 1; + +__END__ + +=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 FURTHER QUESTIONS? + +Check the list of L. + +=head1 COPYRIGHT AND LICENSE + +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L.