> That's not currently possible because a hashref argument to a relationship > accessor method already has a meaning: > > # Set this company's list of products to > # products 123 and 456 > $company->products({ id => 123 }, { id => 456 }); > > # Set this company's vendor to Acme > $company->vendor({ name => 'Acme' }); > > Can you think of a good way to pass custom manager_args to individual calls > to a relationship accessor? Maybe a new read-only accessor type where > arguments can't possible be meant to set values?
Is it possible to make a second accessor for the same relationship, a la products_by_id() versus products_by_name()? Or would RDBO complain then? Is it really needed to come up with another syntax? Bye, Uwe ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object