I was trying to order the result of a sqlite select by date, but with an
inverted order.
I was hoping to access the SQLITE ORDER BY "ASC/DESC" like when I use
direct SQL syntax, by means of the db().select() but I couldn't
understand the specific syntax needed to acheive this.
Current syntax is ```images = db().select(db.image.ALL,
orderby=db.image.date)``` but i want the order inverted.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.