[CDRIVER-258] add _id if not supplied in document sent to mongoc_collection_insert() Created: 15/Nov/13 Updated: 03/May/17 Resolved: 19/Nov/13 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.90.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Hergert | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We need to add a _id field to a document if it was not provided. The helper to do this efficiently will also be used in new style write commands. (Basically a fast join of two bson documents that results in an array of struct iovec). |
| Comments |
| Comment by Christian Hergert [ 19/Nov/13 ] |
|
Fixed in a1ecc8ec57fffdf9b4b5d476bfc1629cceaef8c6. |