[CXX-1642] Add missing getters to uri Created: 05/Sep/18 Updated: 11/Sep/19 Resolved: 06/Sep/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | 3.3.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The uri class provides getters like auth_mechanism(), database(), read_concern(), etc. to retrieve options set on the URI string. However, many are omitted. To name a few:
Fortunately, they're still accessible by accessing the document::view of all options with options(). But should we add getters for some of the omitted options? |
| Comments |
| Comment by Kevin Albertson [ 06/Sep/18 ] |
|
There's no great reason to do this. |