Google App Engine(数据存储) - 将删除的密钥重新生成吗? [英] Google App Engine (datastore) - will a deleted key regenerate?
问题描述
我有一个关于数据存储键
的简单问题。如果我删除一个实体,是否有可能再次创建密钥?或每个键是唯一的,只能一次性生成?
谢谢。
绝对有可能重新使用密钥。
易于测试,例如使用数据存储管理页面: 至于具有自动生成ID的键,它是理论上是可能的,但我认为不太可能,因为有很多可能性。从分配标识符: 云数据存储可以配置为使用两个 I've got a simple question about Thanks. It is definitely possible to re-use keys. Easy to test, for example using the datastore admin page: As for the keys with auto-generated IDs it is theoretically possible, but I guess rather unlikely due to the high number of possibilities. From Assigning identifiers: Cloud Datastore can be configured to generate auto IDs using two
different auto id policies:
这篇关于Google App Engine(数据存储) - 将删除的密钥重新生成吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
不同的自动编号政策:
datastore keys
. If I delete an entity, is there any possibility that the key will be created again? or each key is unique and can be generated only one-time?