[Dbix-class] Loader and relationships

Brandon Black blblack at gmail.com
Mon Jan 16 02:08:04 CET 2006


On 1/14/06, Dan Horne <dan.horne at redbone.co.nz> wrote:
> I'd like to use DBIx::Class:Loader, specifically with MySQL. If I'm using
> InnoDB tables, are the table relationships automatically recognised?

They should be.  If it doesn't recognize them with the latest version
(DBIx::Class::Loader 0.12), let me know.  If it does, the ->has_a,
->belongs_to, etc calls will be in the debug output Matt was talking
about, which is enabled with "debug => 1" in your Loader args.

-- Brandon



More information about the Dbix-class mailing list