[SERVER-15119] Accept a named "writeConcern" option for bulk.execute Created: 02/Sep/14 Updated: 20/Nov/23 Resolved: 20/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently this doesn't generate an error, or work as intended, since gle on the server ignores it, but we should be able to tell what the user intended and use it correctly.
This will also allow execute to have more named arguments in the future... |
| Comments |
| Comment by Steven Vannelli [ 20/Nov/23 ] | |||||
|
This is for the legacy shell so closing as won't fix. | |||||
| Comment by Scott Hernandez (Inactive) [ 02/Sep/14 ] | |||||
|
Basically what I'm suggesting is adding below this https://github.com/mongodb/mongo/blob/master/src/mongo/shell/bulk_api.js#L1116, this:
|