[google-appengine] Re: Retrieving all entities from datastore

2009-09-29 Thread Tomi Korhonen
Hi Nick, This is the first time I hear from it. I'll have a look with that, thanks. - Tomi On 29 syys, 12:04, "Nick Johnson (Google)" wrote: > Hi Tomi, > Have you considered the bulkloader? The bulk export functionality is > designed for exporting all your data. More details > here:http://cod

[google-appengine] Re: Retrieving all entities from datastore

2009-09-29 Thread Nick Johnson (Google)
Hi Tomi, Have you considered the bulkloader? The bulk export functionality is designed for exporting all your data. More details here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Creating_Exporter_Classes -Nick Johnson On Tue, Sep 29, 2009 at 8:17 AM, Tomi Korhonen wrote

[google-appengine] Re: Retrieving all entities from datastore

2009-09-29 Thread Tomi Korhonen
Thanks Wooble, I have missunderstood the whole offset thing. Is there any way to get all entities? I need this to implement data export functionality. - Tomi On 26 syys, 21:14, Wooble wrote: > What do you mean by "hangs up"? > > In any even, setting an offset won't allow you to fetch beyond 10

[google-appengine] Re: Retrieving all entities from datastore

2009-09-26 Thread Wooble
What do you mean by "hangs up"? In any even, setting an offset won't allow you to fetch beyond 1000 items. What your code is attempting to do is: 1. fetch the first 1000 results of the query 2. re-fetch results 2-1000 and add them to the items list (it should break at this point, since there ar