On Mon, Mar 10, 2008 at 05:00:19PM +0000, Luke Opperman wrote:
> (Oleg, the SQLBuilder.SQLObjectTable.__getattr__ stuff we pulled out for its 
> bad
> interaction with FKs was also targetted at this sort of request, specifically
> for not needing to declare the intermediate tables. If someone wants to work
> that stuff back in in a way that avoids name conflicts, it would allow your
> select above to be written eg:
> 
> # Not currently supported, pretend .j is a .q with fk/join attrs for 
> name-safety
> props = property.select(property.j.animals && animal.j.cage && (cage.q.zoo_id 
> ==
> z.id))

   Looks good, and 'j' is pretty good "magic" name, IMHO. Will you work on
a patch?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to