Ok got it.. There is indeed a typo in the docs. The tilde has not been used
in the example:-
it would go like this:-

for row in db().select(db.person.ALL, orderby=~db.person.name):

        print row.name

It works now for me!

Thanks

Vivek


On Tue, Sep 7, 2010 at 12:25 PM, b vivek <[email protected]> wrote:

> The docs mention it , but looks like there is some typo.. it is said that a
> tilde has to be used but the example does not show it:-
> This is what is in the docs:-
>
> >>> for row in db().select(db.person.ALL, orderby=db.person.name):
>
>         print row.name
>
> But this would not reverse the table . Can someone please help...
>
> Thanks
>
> Vivek
>
>
>

Reply via email to