It might be best just to write a small script that deletes all your data, I
think you are restricted to operating on 1000 entities at a time even for
deletes so it would have to be something like.
keys = Kind.all(keys_only=True).fetch(1000)
while keys:
  db.delete(keys)
  keys = Kind.all(keys_only=True).fetch(1000)

you could easily wrap this into a function that deletes all the entities of
a given kind, although be careful there is noway back! Also it should be
easily possible if you have enabled the remote_api.

Good Luck!

Will.

2009/10/17 mscwd01 <[email protected]>

>
> I wish to delete all data I have uploaded to the datastore - please
> tell me there is an easy way to do this?
>
> I was going to try and do it via the data viewer but this feature
> never works for me. I either get server errors or internal errors,
> rather pathetic - you'd think a service we actually pay for might work
> well at least some of the time.
>
> Anyway before I moan too much more, could someone kindly tell me how
> to delete 30,000+ datastore entities? many thanks!
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to