With SqlSoup (sqlalchemy.ext.sqlsoup) you would write db.mytb.select(order_by=[sqlalchemy.func.length(db.mytb.c.mytxt)])
On 10/19/06, Kevin anew <[EMAIL PROTECTED]> wrote: > > I want use sql like this: > select * from mytb order by length(mytxt) ASC > > how to use it by sqlalchemy > > > > > -- Jonathan Ellis http://spyced.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy -~----------~----~----~----~------~----~------~--~---
