The Datastore Python API has a get_or_insert() method that will atomically 
insert an entity if it doesn't exist or return the existing one if it does. 
I can't find the equivalent in Java. Does the Java API have a way of 
accomplishing this same functionality atomically?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/85c7153f-f813-4416-aa75-e2db4b119130%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Andrew Buck

Reply via email to