On Sat, Jul 01, 2006 at 10:03:06PM +0100, Matthias Teege wrote:
> 
> Now I need to group by multiple fields. Is that possible?

   You can try

psl = con.sqlrepr(Select((Study.q.name), groupBy=[Study.q.name, Study.q.more]))

   but I am afraid sqlbuilder cannot handle this. May be

psl = con.sqlrepr(Select((Study.q.name), groupBy="name, more"))

   ?

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to