If you sort on time why do you want to see the object that was stored
2000 entries ago.
Do you also need the objects with time stamp 0..2000?
It makes more sense to find the objects 10 days or 3 month ago.

2009/3/8 Let Delete My Apps <davide.rogn...@gmail.com>:
>
> Does an utility exists to simplify this bad work? (or some examples)
>
> I use this order:
> query.order('-time')
> .
> .
> .
> On Mar 8, 4:57 pm, djidjadji <djidja...@gmail.com> wrote:
>> Make multiple queries. Use a value from the last object retrieved to
>> select new objects with a greater value, __key__ is a good field to
>> use, or use the field you sort on.
>> Make sure you will stay within 30 sec wall clock time.
>>
>> 2009/3/8 Let Delete My Apps <davide.rogn...@gmail.com>:
>>
>>
>>
>> > Sorry but I do not understand :-(
>> > How can I see the record 2001 ?
>> > .
>> > .
>> > On Mar 8, 2:00 pm, "Sharp-Developer.Net"
>> > <alexander.trakhime...@gmail.com> wrote:
>> >> Fromhttp://code.google.com/appengine/docs/python/datastore/queryclass.html
>> >> :
>>
>> >> The datastore fetches offset + limit results to the application. The
>> >> first offset results are not skipped by the datastore itself.
>> >> --
>> >> Alexhttp://sharp-developer.net/
>>
>> >> On Mar 8, 10:56 am, Let Delete My Apps <davide.rogn...@gmail.com>
>> >> wrote:
>>
>> >> > *** The Query Class 
>> >> > ***http://code.google.com/appengine/docs/python/datastore/queryclass.html
>>
>> >> > --> fetch(limit, offset=0)
>> >> > offset --> The number of results to skip.
>>
>> >> > Then?
>> >> > Why do I see this error?
>>
>> >> > BadRequestError: offset may not be above 1000
>> >> > .
>> >> > .
>> >> > On Mar 8, 6:06 am, Wooble <geoffsp...@gmail.com> wrote:
>>
>> >> > > On Mar 7, 5:05 pm, Let Delete My Apps <davide.rogn...@gmail.com>
>> >> > > wrote:
>>
>> >> > > > Hi All,
>> >> > > > I see this error using this code:
>>
>> >> > > > query.fetch(1000, offset=1001)
>>
>> >> > > RTFM before deleting all of your apps.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to