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

Add documentation warning against the use of duplicate key names

    XMLWordPrintable

Details

    • Task
    • Status: Implementing
    • Major - P3
    • Resolution: Unresolved
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: