Re: [sqlalchemy] sqlalchemy filter by count problem

2011-06-08 Thread cio...@gmail.com
. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en. -- Daniel Nistor cio...@gmail.com Website : www.anonymous-proxies.net -- You received this message because you are subscribed

[sqlalchemy] sqlalchemy filter by count problem

2011-06-07 Thread cio...@gmail.com
I have a select with a count on it. Count row is taken from another related table so I can see how many items a user has. I want to filter the results to select only those with items more than 5 let's say. Sqlalchemy generates 2 queries for this. Placing a 'having' filter gives an error but