我想知道是否为存储在 Parse.com 上的对象自动生成的 ObjectId,它们是否在多个类中是唯一的,或者没有这样的保证
整个网络上都有相互矛盾的证据(见下文)。有人可以指点我可以找到它的官方文档吗,因为我自己似乎找不到它。
最佳答案
一位 Parse 员工回答了您的问题:
We only guarantee they will be unique on a per class basis. We'll update the iOS docs to reflect this, thanks for pointing it out.
Note that you'll need billions of objects before you have even a slight chance of having a duplicate. So you can probably assume that it will not happen. We simply don't enforce it when we generate it.
关于javascript - Parse 对象 ID 是否跨类唯一?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34190322/