Hello,
I am trying to make a select statement which involves date sorting.

x1=model.User.select(model.User.c.ZIPCODE==zipcode )

now I get a list of 3 records x1[0],x1[1],x1[2]

How can I sort x1 by x[0].c.DATE ?? ASC ?

What would python code for that look like?

or how could I change this to sort by DATE ASC?
x1=model.User.select(model.User.c.ZIPCODE==zipcode )
Lucas

--~--~---------~--~----~------------~-------~--~----~
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