-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
Lead:
POCs:
Summary:
From the design document: We will extend the $out stage to have the following form:
{$out: {
mode: required, "replaceCollection" | "replaceDocuments" | "insertDocuments"
to: required, name of the collection
db: optional, defaults to the db of the aggregation
uniqueKey: optional document of fields that identifies a document for replacement or merge: see below
}
}
However, we will continue to accept the legacy syntax, which defaults to "replaceCollection" mode.
Relevant Spec Changes:
None.
- depends on
-
CSHARP-2367 Support ability to merge pipeline output with existing collection
- Closed
-
JAVA-2947 Support ability to merge pipeline output with existing collection
- Closed
-
RUST-115 Support ability to merge pipeline output with existing collection
- Closed