There is no such option, but something that will speed up your deletes
significantly is to do a keys_only query. The query you are currently
using fetches all 300 entities into memory (including their
properties, etc) - but you only need the key to delete the entity.
Try something like "query = H
Hi,
I guess if you will use bulk delete it would help:
delete_me = []
for item in Model.all(keys_only=True):
delete_me.append(item)
db.delete(delete_me)
//wbr Pashka R.
On Mon, Jul 13, 2009 at 20:45, Tony wrote:
>
> There is no such option, but something that will speed up your deletes
On Tue, Jul 14, 2009 at 10:06 AM, Pashka R. wrote:
>
> Hi,
>
> I guess if you will use bulk delete it would help:
>
> delete_me = []
> for item in Model.all(keys_only=True):
> delete_me.append(item)
> db.delete(delete_me)
This is not a good approach. Iterating over a Query fetches results in
ba
Sorry for my previous nonsense reply... I need more coffee to wake up :)
//wbr Pashka R.
On Tue, Jul 14, 2009 at 12:12, Nick Johnson
(Google) wrote:
>
> On Tue, Jul 14, 2009 at 10:06 AM, Pashka R. wrote:
>>
>> Hi,
>>
>> I guess if you will use bulk delete it would help:
>>
>> delete_me = []
>