I can delete an entity using the Deleting The entity given by Google Document, But my question is how to delete a specific data that is stored inside an entity. Do we have any way to delete a specific data inside the entity.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about getting the entity, removing the desired field(s) and then updating it?
From the docs :
“To update an existing entity, modify the attributes of the Entity object, then pass it to the DatastoreService.put() method”