[Catalyst] Loader and circular references

James Tolley james at bitperfect.com
Tue Jul 5 15:12:32 CEST 2005


> Whenever you feel Loader can't handle something about you schema,
> try to setup your CDBI classes by hand.

Or you can write your own relationship loader.

You can use CDBI::Loader::mysql::Grok as a start. In it, I load
relationships based on names of columns and tables. The rules are very
common-sense. Also, might_have and many-to-many mapping relationships are
supported.

hth,

James




More information about the Catalyst mailing list