4 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: Bug with order_by an...
FromSent OnAttachments
Ram Yalamanchili28 Apr 2007 22:07 
Michael Bayer29 Apr 2007 07:39 
Ram Yalamanchili29 Apr 2007 17:11 
Michael Bayer29 Apr 2007 21:05 
Subject:[sqlalchemy] Re: Bug with order_by and certain versions of mysql
From:Michael Bayer (mike@zzzcomputing.com)
Date:04/29/2007 09:05:36 PM
List:com.googlegroups.sqlalchemy

On Apr 29, 2007, at 8:11 PM, Ram Yalamanchili wrote:

objects i believe. So, still trying to see how to fit what you said into my query like:

q = Query(cls).join('parent').group_by(cls.c.user_id).order_by (func.count(cls.c.user_id)).limit(limit).offset(offset)

thatll work, have you tried ?