Moved search to resultset, created ResultSetInstance
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Core.pm
index c90d7bc..7c3a1af 100644 (file)
@@ -2,7 +2,59 @@ package DBIx::Class::Core;
 
 use strict;
 use warnings;
+no warnings 'qw';
 
-use base qw/DBIx::Class::Table DBIx::Class::SQL DBIx::Class::DB/;
+use base qw/DBIx::Class/;
+
+__PACKAGE__->load_components(qw/
+  InflateColumn
+  Relationship
+  ResultSetInstance
+  PK
+  Row
+  Table
+  Exception
+  AccessorGroup/);
 
 1;
+
+=head1 NAME 
+
+DBIx::Class::Core - Core set of DBIx::Class modules.
+
+=head1 DESCRIPTION
+
+This class just inherits from the various modules that makes 
+up the DBIx::Class core features. This makes it a convenient base
+class for your DBIx::Class setup.
+
+At the moment those are:
+
+=over 4
+
+=item L<DBIx::Class::InflateColumn>
+
+=item L<DBIx::Class::Relationship>
+
+=item L<DBIx::Class::PK>
+
+=item L<DBIx::Class::Row>
+
+=item L<DBIx::Class::Table>
+
+=item L<DBIx::Class::Exception>
+
+=item L<DBIx::Class::AccessorGroup>
+
+=back
+
+=head1 AUTHORS
+
+Matt S. Trout <mst@shadowcatsystems.co.uk>
+
+=head1 LICENSE
+
+You may distribute this code under the same terms as Perl itself.
+
+=cut
+