[CXX-1406] Provide example and docs for using collection::distinct Created: 24/Jul/17 Updated: 23/Jul/21 Resolved: 12/Nov/20 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | David Golden | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The distinct method returns a cursor, but the cursor only has a single document like this:
This is surprising. We should provide example code and improve the docs to clarify this situation. |
| Comments |
| Comment by Rachelle Palmer [ 12/Nov/20 ] |
|
As this issue has sat untouched for a lengthy period of time, we are closing it as Won't Do. If you feel the status should be otherwise, please re-open the ticket. |