Delete data from Google AppEngine datastore
I need to delete some information from Google app engine datastore (not google app-engine cloud storage). I am using Java开发者_如何学Python API for develop my application. Any one have good example for this?
Have a look to Deleting Entities in Bulk new feature here.
You can use the Datastore Admin tab of the Admin Console to delete all entities of a kind, or all entities of all kinds, in the default namespace
See this part of the documentation: Saving, Getting and Deleting Entities
You just call datastore.delete(key)
.
If this is a local environment, got to /_ah/admin/datastore and select entities to delete.
精彩评论