I´m guessing a bit because I still could not find the group_by entry in the docs
This works: user.select(links.c.id> 3, order_by=[user.c.id]).execute() but this does not user.select(links.c.id> 3,group_by=[user.c.dept]).execute() What should be the right syntax? Thanks On Jun 27, 4:07 pm, voltron <[EMAIL PROTECTED]> wrote: > Thanks. I did not find this in the docs. > > http://www.sqlalchemy.org/docs/sqlconstruction.html > > On Jun 27, 4:01 pm, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > --On 27. Juni 2007 06:47:37 -0700 voltron <[EMAIL PROTECTED]> wrote: > > > > How can I construct the clause "group by" using SQL construction? > > > By using the group_by parameter of the select() method? > > > -aj > > > application_pgp-signature_part > > 1KDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
