On 10/9/05 1:09 PM, Uwe Voelker wrote:
> 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 pretend
they don't exist and it behaves as you described above.

> To the changes in CVS. I tried them and they work good. Even "fetch_only
> => 1" works. It fetches only the main object, but doesn't add a distinct.

Using "fetch_only => 1" may work, but is not documented so you shouldn't
rely on it continuing to work :)  You use "fetch_only => [ 't1' ]" instead.
You never have to worry about numbering since t1 is always the primary
table.

-John




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to