【问题标题】:Difference between note id and universal idnote id 和通用 id 的区别
【发布时间】:2015-06-08 04:56:19
【问题描述】:

我进行了搜索,但我仍然没有明确的想法。我多次使用“universal id”(UNID),但从未使用“note id”,所以想知道其中的区别。

【问题讨论】:

    标签: lotus-notes


    【解决方案1】:

    通用 ID 唯一标识一个文档跨数据库的所有副本
    通用 ID 是十六进制数字(0-9、A-F)的32字符组合。

    If two documents in replica databases share the same universal ID, the documents are replicas. If you modify the UNID of an existing document, it becomes a new document.

    注释 ID 唯一标识特定数据库中的文档
    笔记 ID 是 8 字符的字母和数字组合。

    A note ID represents the location of a document within a specific database file, so documents which are replicas of one another generally have different note IDs.

    【讨论】:

    • 还应注意,在许多日常管理程序中,给定文档的 noteid 可能会发生变化。代码永远不应该依赖它来保持不变。即,绝对不要将 noteid 存储为维护文档之间关系的一种方式。
    • 尽管行政程序很少更改文档的 UNID,但在某些情况下也可能发生这种情况。例如。文档被意外删除并且删除已完全复制,因此它们从非复制副本中恢复或简单地重新创建。鉴于这种可能性,将 UNID 存储为维护文档之间关系的一种方式也不是 100% 安全的。
    猜你喜欢
    • 1970-01-01
    • 2011-06-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-10-01
    相关资源
    最近更新 更多