Question

I have some records in datastore, I want to delete a specific record from the table. for example in SQL , we use delete * from table1 where name ="mike" what is the equivalent code in java (I m using Eclipse with Google appengine API plugin)? or any other method to do that?

Was it helpful?

Solution

Take a look at the documentation, specifically these articles: Queries and Indexes and Creating, Getting and Deleting Data.

OTHER TIPS

//get all the matching objects
//loop over the matching objects
////deleting each object

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top