Brad Wells wrote:
>
> Is it possible to perform a query.count() on a query with a labeled
> column expression without count() adding the subselect? I need to
> filter on the value of the expression and get a count for a paged view.

use query.value(func.count(<some column>)).    I'm seriously considering
deprecating query.count() since what's being asked of it is ambiguous.



> >
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to