[google-appengine] Re: BadRequestError: offset may not be above 4000

2009-02-20 Thread neoedmund
On Jan 12, 2:12 am, wsstefan wsste...@gmail.com wrote: I wrote a cronjob that goes through and recalculates my members' ranks 10 at a time using the the following request: profiles = Profile.all().order('-score').fetch(10,offset) for profile in profiles:   # calculate rank but once I

[google-appengine] Re: BadRequestError: offset may not be above 4000

2009-01-11 Thread Alexander Kojevnikov
The offset is applied _after_ the query is executed and the entities are fetched. Re-read the Executing the Query and Accessing Results section from http://code.google.com/appengine/docs/datastore/creatinggettinganddeletingdata.html So, using offset to go through all your entities is not a good