On Oct 28, 2007, at 12:23 PM, Marcos Dione wrote:

>
>
>         q= self.query.offset (index)
>         if count is not None:
>             q= q.limit (count)
>         q= q.order_by (sqlalchemy.desc ('date'))
>         q= q.filter (constraint)
>         print self.query.compile () <---
>         p= q.all ()
>         return p

this is a small bug fixed in r3678, for a workaround dont use literal  
strings for the order_by() expression above; it has to do with  
translation of text() fields (such as 'date' above).

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to