On Wednesday, September 19, 2012 8:51:48 AM UTC-7, Moises Belchin wrote:

> Hi guys,
>
> I have this query:
>
> q = MyKind.query()
> regs = q.fetch(offset = 990, limit = 10) // *Returns 10 entities.*
>
> If I press next button on my UI:
>
> q = MyKind.query()
> regs = q.fetch(offset = 1000, limit = 10) // *Returns 0 * *entities* *.*
>
> MyKind has 1300 entities.
>
> Any thoughts?
>
> Thanks and regards.
> Moisés Belchín.
>

I can confirm this. I believe it is intentional to encourage you to use 
cursors instead of offsets for such queries; internally, you are paying for 
reading all the entities that you are skipping using the offset.

--Guido

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/uNrSdb1M29wJ.
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