2 DBIx::Class - Extensible and flexible object <-> relational mapper.
6 This is a sql to oop mapper, inspired by the Class::DBI framework, and
7 meant to support compability with it, while restructuring the insides,
8 and making it possible to support some new features like self-joins,
9 distinct, group bys and more.
11 It's currently considered EXPERIMENTAL - bring this near a production
12 database at your own risk! The API is *not* fixed yet, although most of
13 the primitives should be good for the future and any API changes will be
14 posted to the mailing list before they're committed.
16 The community can be found via -
18 Mailing list: http://lists.rawmode.org/mailman/listinfo/dbix-class/
20 SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
22 Wiki: http://dbix-class.shadowcatsystems.co.uk/
24 IRC: irc.perl.org#dbix-class
27 If you're using Class::DBI, replacing
29 use base qw/Class::DBI/;
33 use base qw/DBIx::Class/;
34 __PACKAGE__->load_components(qw/CDBICompat Core DB/);
36 will probably get you started.
38 If you're using AUTO_INCREMENT for your primary columns, you'll also
39 want yo load the approriate PK::Auto subclass - e.g.
41 __PACKAGE__->load_components(qw/CDBICompat PK::Auto::SQLite Core DB/);
43 (with is what ::Test::SQLite does to present the
44 Class::DBI::Test::SQLite interface)
46 If you fancy playing around with DBIx::Class from scratch, then read the
47 docs for DBIx::Class::Table, ::Row, ::Schema, ::DB and ::Relationship,
49 use base qw/DBIx::Class/;
50 __PACKAGE__->load_components(qw/Core DB/);
52 and have a look at t/lib/DBICTest.pm for a brief example.
55 Matt S. Trout <mst@shadowcatsystems.co.uk>
58 Andy Grundman <andy@hybridized.org>
60 Brian Cassidy <bricas@cpan.org>
62 Dan Kubb <dan.kubb-cpan@onautopilot.com>
64 Dan Sully <daniel@cpan.org>
68 Marcus Ramberg <mramberg@cpan.org>
71 You may distribute this code under the same terms as Perl itself.