John Siracusa wrote:
...
> So, asking that map records be included on a per-method-call basis is
> probably out. But if you *always* want map records with your m-to-m
> objects, just add to the relationship's manager_args:
>
> relationships =>
> [
> users =>
> {
> type => 'many to many',
> map_class => 'ProjectUserMap ',
> manager_args => { with_map_records => 1 },
> },
> ...
> ]
Thanks. This is perfect.
Best regards,
- jud
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object