-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Fully Compatible
-
Query 2018-07-30, Query 2018-08-13
In SERVER-35893, we changed $out to accept new syntax in the form
$out: { mode: "insert" | "replace", dropTarget: true | false }
After some discussion, we'd like to ban dropTarget: true with any mode other than mode: "insert". Therefore, we'd like to collapse dropTarget into another mode and rename them appropriately:
$out: { mode: "insertDocuments" | "replaceDocuments" | "replaceCollection" }
Names subject to bikeshedding!
- depends on
-
SERVER-35893 Update $out to accept new syntax
- Closed
- is depended on by
-
SERVER-36123 Reject $out with mode: "replaceCollection" if the output collection is sharded
- Closed
-
SERVER-36288 Adjust required $out authz privileges based on mode
- Closed
-
SERVER-36187 Use the IDL to serialize $out
- Closed