- 
    Type:
Improvement
 - 
    Resolution: Won't Do
 - 
    Priority:
Trivial - P5
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: Documentation
 - 
    None
 
- 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
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.
- related to
 - 
                    
CXX-1126 collection::distinct return should allow iteration over results
-         
 - Closed
 
 -