[Dbix-class] [ANNOUNCE] DBIx::Class 0.03 released to CPAN

Matt S Trout dbix-class at trout.me.uk
Tue Sep 20 03:09:15 CEST 2005

New stuff in this release -

Join support
Prefetch support (ala ActiveRecord :include)
Native has_a, has_many, might_have, belongs_to relationship helpers
Improved CDBICompat layer with additional tests (CDBICompat will now work some places Class::DBI fails)
Improved reference docs (new user docs still non-existant, sorry)
Even more tests

If your CPAN mirror doesn't have it yet, try


README follows (will missing contributors please mail me) ===============>

    DBIx::Class - Because the brain is a terrible thing to waste.

    This is a sql to oop mapper, inspired by the Class::DBI framework, and
    meant to support compability with it, while restructuring the insides,
    and making it possible to support some new features like self-joins,
    distinct, group bys and more.

    It's currently considered EXPERIMENTAL - bring this near a production
    database at your own risk! The API is *not* fixed yet, although most of
    the primitives should be good for the future and any API changes will be
    posted to the mailing list before they're committed.

    The community can be found via -

      Mailing list: http://lists.rawmode.org/mailman/listinfo/dbix-class/

      SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/

      Wiki: http://dbix-class.shadowcatsystems.co.uk/

      IRC: irc.perl.org#dbix-class

    If you're using Class::DBI, replacing

      use base qw/Class::DBI/;


      use base qw/DBIx::Class/;
      __PACKAGE__->load_components(qw/CDBICompat Core DB/);

    will probably get you started.

    If you're using AUTO_INCREMENT for your primary columns, you'll also
    want to load the approriate PK::Auto subclass - e.g.

      __PACKAGE__->load_components(qw/CDBICompat PK::Auto::SQLite Core DB/);

    (with is what ::Test::SQLite does to present the
    Class::DBI::Test::SQLite interface)

    If you fancy playing around with DBIx::Class from scratch, then read the
    docs for DBIx::Class::Table, ::Row, ::Schema, ::DB and ::Relationship,

      use base qw/DBIx::Class/;
      __PACKAGE__->load_components(qw/Core DB/);

    and have a look at t/lib/DBICTest.pm for a brief example.

    Matt S. Trout <mst at shadowcatsystems.co.uk>

    Andy Grundman <andy at hybridized.org>

    Brian Cassidy <bricas at cpan.org>

    Dan Kubb <dan.kubb-cpan at onautopilot.com>

    Dan Sully <daniel at cpan.org>


    Marcus Ramberg <mramberg at cpan.org>

    You may distribute this code under the same terms as Perl itself.

     Matt S Trout       Specialists in perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

More information about the Dbix-class mailing list