[Catalyst] Loader and circular references

samwyse samwyse at gmail.com
Tue Jul 5 17:55:59 CEST 2005


On 7/5/05, James Tolley <james at bitperfect.com> wrote:
> > 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.

Would you mind sharing your changes?  I, for one, would be interested
in seeing how you did this.  It may be common sense, but an example is
worth a thousand words of explaination.



More information about the Catalyst mailing list