[SQLObject] GROUP BY Clause - Looking for Workaround
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: CLIFFORD I. <cli...@di...> - 2004-08-13 01:12:02
|
Hi, I understand SQLObject does not support GROUP BY but is there a way to pass it through to the back end anyway? I am trying to the do equivalent of: select group_id, count(*) from person where (expiry = '12/31/2003' or expiry = '12/31/2004') and active = 'YES'; Regards, Clifford Ilkay Dinamis Corporation 3266 Yonge Street, Suite 1419 Toronto, Ontario Canada M4N 3P6 Tel: 416-410-3326 |