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

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

      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.)

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

              Created:
              Updated:
              Resolved:
              5 years, 33 weeks, 2 days ago