[SERVER-12342] Add dropTarget option $out operator Created: 13/Jan/14 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ian Whalen (Inactive) | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | usability | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Execution
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
In an effort to safeguard users from inadvertently overwriting data, the new aggregation $out pipeline operator should have a dropTarget option and error if false and output collection already exists |
| Comments |
| Comment by NOVALUE Mitar [ 20/Jun/16 ] |
|
Anything new about this? Please please implement this. |
| Comment by Asya Kamsky [ 31/May/15 ] |
|
this would only be fully compatible if default is set to true. |