good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Class::DBI::Iterator and overriding accessorsby jdtoronto (Prior) |
on Aug 08, 2006 at 20:36 UTC ( [id://566251]=note: print w/replies, xml ) | Need Help?? |
HuckinFappy, You have given us enough code to tease us, but not enough to be truly illuminating! As you know Clas::DBI doesn't implement a MANY-TO-MANY relationsuip, it is done with the external link table. Have you checked the definitions of the 'has_many' relationships to make sure that the accessors have been properly specified there? As for the iterator - have you tried the same relationships without the customised accessor/mutator names? How did that work? The Class::DBI::Iterator is very simple and at a glance if the accessor/mutator methods are all correctly in place then the iterator should deal with it. jdtoronto
In Section
Seekers of Perl Wisdom
|
|