On Fri, 02 Jun 2006 21:46:16 -0000
"Jeff Marshall" <[EMAIL PROTECTED]> wrote:

> 
> To reverse the orderBy clause, you would be better served by doing
> this:
> 
>    A.select( A.q.members==10, orderBy=-A.q.created )
> 
> Include a negative rather than converting the results into a list and
> reversing the list.
> 
> Jeff Marshall
> [EMAIL PROTECTED]

Contrary to popular belief, orderBy doesn't care about the - unless
it's inside a string (I've run into this myself).  So
orderBy=-A.q.created doesn't work, but orderBy="-created" does.

Jason

Attachment: signature.asc
Description: PGP signature

Reply via email to