Remember there are no tables. Just kinds representing models.

first_entity = MyModel.all().order('age').get()
last_entity = MYModel.all().order('-age').get()

Rgds

T

On Dec 4, 11:43 pm, YF CAO <[email protected]> wrote:
> Hi.
> in google app engine, how to select first entity from a bigtable.
> like this sql:
> select AGE from TABLENAME where order by AGE desc limit 1.
> or like:
> select max(AGE) from TABLENAME.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to