Details
-
Improvement
-
Resolution: Won't Do
-
Trivial - P5
-
None
-
None
-
None
Description
The distinct method returns a cursor, but the cursor only has a single document like this:
{
|
"values" : [ "A", "B" ],
|
"ok" : 1
|
}
|
This is surprising. We should provide example code and improve the docs to clarify this situation.
Attachments
Issue Links
- related to
-
CXX-1126 collection::distinct return should allow iteration over results
-
- Closed
-