google app engine - Are single-entity datastore writes atomic? -


in appengine datastore, given entity a = mymodel(a=1, b=2), a.put() atomic? is, if run:

a.a=3 a.b=4 a.put() 

am guaranteed entity updated correctly properties, (assuming a.put() did not raise exception, is)?

dan sanderson's book says it is, couldn't find concrete documentation on subject elsewhere.

yes, single entity's update atomic.

as noted in article, given entity single protocol buffer in bigtable row. protocol buffers written atomically.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -