Improve API to help customers avoiding duplicate key names

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • C Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Can we improve the API to help customers avoid inserting data with duplicate keys? I am aware that this is technically allowed by the BSON spec, and the server is not enforcing it (we cannot because of backwards compatibility and performance).

      The C driver warns about it here. For us on the server, this is a headache. Customers who have this kind of data it is always unintentional and result in query incorrectness, where we have no way of automatic remediation.

            Assignee:
            Unassigned
            Reporter:
            Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: