A belated thanks, Anthony. I had forgotten about the rows.sort() method.
On Thursday, April 30, 2015 at 5:13:23 PM UTC-4, Anthony wrote:
>
> The sorting via orderby is handled by the database, so you can't use
> Python code for that, as it must be executed by the database. However, the
> Rows ob
The sorting via orderby is handled by the database, so you can't use Python
code for that, as it must be executed by the database. However, the Rows
object has a .sort() method, which does the sorting in Python after the
records are returned by the database. See
http://web2py.com/books/default/
2 matches
Mail list logo