[google-appengine] Re: Query max results clarification

2008-10-29 Thread djidjadji
Your original assumption is correct. fetch() first gets the objects and then applies the offset. Maybe they have set this limit, because retrieving and processing 1000 objects will trigger some sort of quota, time or CPU. 2008/10/28 Alex Popescu <[EMAIL PROTECTED]>: > > It was clear that if I can

[google-appengine] Re: Query max results clarification

2008-10-27 Thread Alex Popescu
It was clear that if I can have a criteria that would return a result set starting with the 1001 row than the problem would be solved. But, if you read my question you'll notice that I was clearly referring to result sets that have more than 1000 results. Anyways, I do believe that my understandin

[google-appengine] Re: Query max results clarification

2008-10-26 Thread djidjadji
You can but you must use a field of the object that you can sort on. Then you can use a filter() on the query to get the objects beyond the first 1000. If you fetch 1000 records, process 999, and use the sort field value of record 1000 as a starting value for your next query.filter('field >= :1',