Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12052

Docs for SERVER-36367: Add validation checks for $out uniqueKey

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.3
    • manual, Server
    • None

    Description

      Description

      Description:

      This is just part of the broader $out project. The restrictions on the uniqueKey imposed by these code changes are like the description says:

      In the "uniqueKey" spec:

      • no duplicate keys
      • no nested objects (use the dotted "nested.field" syntax instead)
      • all fields must have value 1

      At runtime:

      • Each document must have every field of the uniqueKey. No fields of the uniqueKey may be missing, null, undefined or an array.

      Engineering Ticket Description:

      • Duplicate keys
      • No nested objects
      • All fields must have value '1'
      • None of the values may be nullush

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kay.kim@mongodb.com Kay Kim (Inactive)
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 2 weeks, 4 days ago