Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-612

Add documentation warning against the use of duplicate key names

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None

      Drivers that provide low level control over the creation of BSON (for example, the BSON writer in the Java and other drivers) MUST warn against the use of duplicate key names in documentation.

      The documentation MUST mention that the server's behavior related to duplicate key names is undefined and MUST document what the driver does when a document with duplicate key names is decoded (first one wins, last one wins, etc.) and that storing such a document will cause the other value(s) to be lost.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: