Commit Graph

4 Commits

Author SHA1 Message Date
Kyle Suarez
b46de3f6c0 SERVER-36100 generate _id for $out uniqueKey if not present
If the _id field is part of the $out "uniqueKey" but is not present in
the document at the time of write, the $out stage will generate it
automatically.

We won't generate an _id if if isn't part of the "uniqueKey" so that
DocumentSourceOutInPlaceReplace won't use it as part of the update.
2018-08-30 10:45:29 -04:00
Kyle Suarez
15d627c3b7 SERVER-13201 support $out to foreign database
Allows $out to write to a database foreign to the aggregation namespace
when the mode is "insertDocuments" or "replaceDocuments"
2018-08-28 11:00:26 -04:00
Nick Zolnierz
2e69710b5b SERVER-35895: Add ability for $out to write to remote hosts 2018-08-08 09:49:15 -04:00
Nick Zolnierz
2471e2bb65 SERVER-36286: Rename options for $out 2018-07-26 12:14:00 -04:00