in reply to Class::DBI::Iterator and overriding accessors
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Class::DBI::Iterator and overriding accessors
by HuckinFappy (Pilgrim) on Aug 08, 2006 at 20:44 UTC |