On Mon, Feb 10, 2014 at 11:23 AM, Juan de Dios Becerra < [email protected]> wrote:
> It seems like I finally could retrieve an entity and modify the content, > my actual doubt is how can I retrieve more than 1,000 entities, because I > got a warning because I have more than 1,000 entitites in a kind, how can I > make this? > You'll need to use datastore cursors to "page" through sets of query results. You can see an example of how to use cursors here: https://developers.google.com/appengine/docs/java/datastore/queries#Java_Query_cursors, but the general idea is that you can retrieve the results of a datastore query in batches. When you're done processing a page of results, you can obtain a cursor to retrieve the next results page. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
