[DRIVERS-540] Support ability to merge pipeline output with existing collection Created: 24/Jul/18  Updated: 27/May/22  Resolved: 28/Apr/19

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-2367 Support ability to merge pipeline out... Closed
depends on JAVA-2947 Support ability to merge pipeline out... Closed
depends on RUST-115 Support ability to merge pipeline out... Closed
Duplicate
Server Compat: 4.2
Start date:
Driver Compliance:
Key Status/Resolution FixVersion
JAVA-2947 Won't Fix
CSHARP-2367 Won't Fix
SCALA-473 Fixed 2.7.0
RUST-115 Won't Fix

 Description   
Useful Info

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.



 Comments   
Comment by Asya Kamsky [ 28/Apr/19 ]

Please Cc me with new drivers ticket.

Generated at Thu Feb 08 08:21:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.