[Dbix-class] Loader and relationships

Dan Horne dan.horne at redbone.co.nz
Sun Jan 15 01:35:28 CET 2006


Hello

I'm new to DBIx::Class, and before I delve too deeply into it, I have a few
questions that I hope someone can answer.

I'd like to use DBIx::Class:Loader, specifically with MySQL. If I'm using
InnoDB tables, are the table relationships automatically recognised?

Although I do use mod_perl, I tend to use PersistentPerl/SpeedyCGI more for
my persistent environment. How would I use DBIx::Class:Loader since I don't
have a startup script? (I use CGI::Application for my web development).

How are relationships used with DBIx::Class? I realise that I can define
them explicitly - and I hope implicitly with Loader - but one they're
defined how do I use them in my queries?

Finally, the main POD states: "This project is still at an early stage, so
the maintainers don't make any absolute promise that full
backwards-compatibility will be supported; however, if we can without
compromising the improvements we're trying to make, we will, and any
non-compatible changes will merit a full justification on the mailing list
and a CPAN developer release for people to test against." Is this production
ready? I'd hate to use it, and then find that there has been a huge redesign
which breaks my code.

TIA

Dan




More information about the Dbix-class mailing list