Re: [RDBO] Distinct and fetch_only manager params

2005-10-10 Thread Uwe Voelker
Hello John, What about this rule: 1. if a column is not prefixed, it is the main object. 2. every other column has to be prefixed with the relationship name I already did this and checked it in. You can still use the tN table names and tN_ column prefixes if you want, but if not, then just

Re: [RDBO] Distinct and fetch_only manager params

2005-10-10 Thread John Siracusa
On 10/10/05 5:41 AM, Uwe Voelker wrote: Cool. Now only 'sort_by' is missing. What about this: 1. if it's a scalar, use it as it is (use as sql snippet) 2. if it's a arrayref expand the column as for the 'query' parameter Did you try it? :) I already do expansion (and sometimes compression to