GAE uses client-side offsets, that means it first runs the query, then
iterates on the result to reach the offset you specified. This implies
that the offset cannot be greater than the result limit:
http://code.google.com/appengine/docs/datastore/creatinggettinganddeletingdata.html#Getting_Entities_Using_a_Query
(read the section called "Executing the Query and Accessing Results")

To iterate over a large dataset you need to have a unique field that
you will filter and order by. I suggest checking out this video:
http://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine
Closer to the end Brett explains how to compose such a field.


On Sep 22, 3:38 am, Michael <[EMAIL PROTECTED]> wrote:
> I have the same problem. I can understand the result limit, but
> offset ?
> Simple solution is add a record ID .
>
> On Sep 21, 10:15 am, Aral Balkan <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'm not sure when this changed but it seems that you cannot specify
> > offsets above 1,000 which kind of kills my backup app.
>
> > How are we supposed to iterate over large datasets?
>
> > Thanks,
> > Aral
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to