You can check out the code:
http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/datastore/datastore_stub_util.py#1310
Here is some code to demonstrate what the option does:
import uuid
import logging
class T(db.Model):
index = db.StringProperty()
for _ in xrange(100):
index = str(uuid.uuid4())
T(key_name=index, index=index).put()
# put a time.sleep(xx) here to see how it works.
# This will usually not work on prod HR datastore.
t = T.all().filter('index', index).get()
if not t:
logging.info('NoTing for you.')
# This should always work.
t_by_key = T.get_by_key_name(index)
if not t_by_key:
logging.error('You should never see this')
Robert
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/AAOJsS2h-FIJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>