On 3/14/06 8:12 AM, Uwe Voelker wrote:
>> 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()?

Yep, that's fine.  (Although you have to be careful not to set values using
more than one of these relationships on the same object :)  But that's not
the same thing as accepting custom sort-by parameters on a per-call basis.

-John




-------------------------------------------------------
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

Reply via email to