[SERVER-1154] bulk update/upsert for mongoimport Created: 25/May/10 Updated: 12/Jul/16 Resolved: 25/May/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.2 |
| Type: | New Feature | Priority: | Trivial - P5 |
| Reporter: | Brandon Martin | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
It would be nice if importing, check if the record exists if so just update if not insert new. |
| Comments |
| Comment by Mathias Stearn [ 25/May/10 ] |
|
added an --upsert flag to mongoimport |
| Comment by auto [ 25/May/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: --upsert option to mongoimport |