[CXX-1933] database::create_collection takes a bson document instead of options class Created: 10/Feb/20 Updated: 01/May/23 Resolved: 01/May/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | CXX usability improvements |
| Quarter: | FY24Q3 |
| Description |
|
We implement an options::create_collection type, but database::create_collection does not take this type as a parameter. Instead, it takes a bson document, requiring the user to do the conversion first. This does not follow our usual style within the driver. |
| Comments |
| Comment by Rishabh Bisht [ 01/May/23 ] |
|
Method in question is deprecated. Won't be making any changes for it. |