Hi I wanted to retrieve the latest data entered in a table and thus used the
below syntax for data look up

homepage=db().select(db.homepage.ALL,orderby=~db.homepage.id,limitby=(0,1))

This is expected to retrieve the last row entered in the table homepage .
While this works perfectly, it does not work on GAE. It would be really
helpful, if someone could please help me with this..
Thanks
Vivek

Reply via email to