6 use base qw/DBIx::Class::CDBICompat DBIx::Class::Core/;
16 DBIx::Class - Because the brain is a terrible thing to waste.
22 This is a sql to oop mapper, inspired by the L<Class::DBI> framework,
23 and meant to support compability with it, while restructuring the
24 insides, and making it possible to support some new features like
25 self-joins, distinct, group bys and more.
29 If you're using Class::DBI, replacing
31 use base qw/Class::DBI/;
35 use base qw/DBIx::Class::CDBICompat DBIx::Class::Core/;
37 will probably get you started.
39 If you're using AUTO_INCREMENT for your primary columns, you'll also want
40 PK::Auto and an appropriate PK::Auto::DBName (e.g. ::SQLite).
42 If you fancy playing around with DBIx::Class from scratch, then read the docs
43 for ::Table and ::Relationship,
45 use base qw/DBIx::Class/;
47 and have a look at t/lib/DBICTest.pm for a brief example.
51 Matt S. Trout <perl-stuff@trout.me.uk>
55 You may distribute this code under the same terms as Perl itself.