Thursday, 15 January 2015

java - How to update a datastore entity with Objectify? -


I use Google App Engine datastore and I need to update one of my institutions that it has been saved ( I outline the operations on the objective datastore) However, I only need to update one area of ​​the unit. For now I use the unit to load (calling load () ), to modify the field, and then to continue it save () . I'm sure that's a better way to do this, what's the best way to do this?

This is the common way

I think you want to find updates like SQL are doing? There are no such things in Google Datastore Update and Insert are the same operations - you are putting a unit for a key.

View Docs:


No comments:

Post a Comment