You can sort the entities by __key__, and get the first 1000 entities.
Then add a filter for __key__ that bigger(or smaller) than the 1000th
entity, to get 1001st to 2000th entities, and so on.

2009/9/15 Locke <[email protected]>:
>
> From the documentation: "maximum number of entities in a batch get:
> 1000"
>
> Does this mean that if I have say 5000 accounts which I am keeping
> track of in the datastore, and I do a query to list all of them, it
> would not work? I would have to do five queries in a row, hard coding
> distinct queries to get account numbers 0-999, 1000-1999, 2000-2999,
> 3000-3999, and 4000-4999?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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