That worked, thanks!

On Dec 9, 1:02 am, mdipierro <[EMAIL PROTECTED]> wrote:
> or using war SQL (not nice but possible)
>
>     sort="table.id, table.otherfield, table.yetanotherfield DESC"
>     records=db().select(db.table.ALL,orderby=sort)
>
> Notice in the second case there is no "db." because the connection
> exist in Python not in SQL.
>
> Massimo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to