在Google App Engine中,我尝试使用Go。
设置数据存储读取策略 Python使用read_policy = db.EVENTUAL_CONSISTENCY
具有此功能,但似乎没有Go等效。您可以看到Go文档中缺少此部分。
https://developers.google.com/appengine/docs/python/datastore/queries#Python_Data_consistency https://developers.google.com/appengine/docs/go/datastore/queries#Go_Data_consistency
有人可以帮忙吗?
答案 0 :(得分:1)
现已添加此功能。
https://developers.google.com/appengine/docs/go/datastore/reference#Query.EventualConsistency
答案 1 :(得分:0)
是的,似乎目前无法为祖先查询指定最终一致性(其他类型的查询总是强大或最终一致)。
您可以在https://code.google.com/p/googleappengine/issues/entry?template=Feature%20request
上创建新问题如果您确实创建了一个,请在此处发布ID,以便其他人可以为其加注星标。