get_or_insert() uses get_by_key_name() in a transaction and can detect
if a (root) entity exists.

I am trying to understand how GAE can use get_by_key_name() for root
level entities and promise transactional uniqueness.

It seems like a contradiction: root level entities are independent and
root level entities can be transactional.

Could someone with knowledge of the datastore shed some light on
this?  How does it really work?

Thanks,

Robin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to