__key__ is the default ordering when no other filters or sort orders are
requested.  (In general, __key__ is the last ordering applied after all
other orders.)

-- Dan

On Fri, Mar 13, 2009 at 8:37 PM, Simo Salminen <ssalm...@gmail.com> wrote:

>
> Hi.
>
> In http://code.google.com/appengine/articles/remote_api.html there is
> example:
>
> entities = MyModel.all().fetch(100)
> while entities:
>  for entity in entities:
>    # Do something with entity
>  entities = MyModel.all().filter('__key__ >', entities[-1].key
> ()).fetch(100)
>
>
> How come there is no ordering on __key__?
>
> >
>

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

Reply via email to