You can iterate over _more_ than 1000 results.

>From the horses mouth (sorry Don):

http://groups.google.com/group/google-appengine-java/browse_thread/thread/4dc3cd9e6113fe16#

On Jan 17, 11:58 pm, Paul Jacobs <[email protected]> wrote:
> Can I get a quick confirmation?
>
> The 1000 entity limit for any query works as described when I test.
>
> But in a quick test, something like:
>
>                 for (int i = 0;i < 2000; i += 400)
>                 {
>                         for (Entity row : 
> pqt.asIterable(FetchOptions.Builder.withLimit
> (400).offset(i))) {
>
>                        // yadda
>
>                         }
>
>                 }
>
> seems to work.
>
> I haven't benchmarked it: is this slow on subsequent increments of the
> offset?
>
> Any comments appreciated.
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
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-java?hl=en.


Reply via email to