-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
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.)
- documents
-
SERVER-36367 Add validation checks for $out uniqueKey
- Closed
- related to
-
DOCS-12028 New syntax for $out aggregation stage
- Closed