I believe the only way to reset the datastore is to delete the
application which might be an option if your site is not already live.
Otherwise you need to have the kind name to query for entities to
delete by key (unless they all have a common ancestor). To get the
available kind names you can use the meta-data api and then do a keys-
only query on each.
If you have a large number of entities to delete you'll probably need
to break the job up into tasks using cursors. The Deferred class is a
great way to simplify this.
On 26 May 2010, at 00:51, Ronmell (VDKiT) wrote:
Hello everybody.
I want to gather the information about all the entities there are in
my Data Store, I need this in order to delete each one found. Does
anybody know how to do this? or is there any other way for deleting
all the entities in data store? something like "RESET the whole data
Store"
Thanks.
R
--
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
.
--
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.