On Mon, Apr 16, 2007 at 06:33:26PM +0100, Nick Murdoch wrote:
> userstags = filter(
> lambda tag: page in tag.pages,
> user.tags.distinct().orderBy(Tag.q.name)
> )
To replace this with a single .select() you have to declare intermediate
tables and do a join between all of them. SQLObject doesn't do such joins
automatically.
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss