-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
It is odd that we Unmarshal the results of the "distinct" command here. While we cannot make significant changes to the Distinct method until v2.x of the driver (see GODRIVER-2443), we could create a new method DistinctCursor that returns a Cursor that would iterate over the "values" field returned by "distinct".
- is related to
-
GODRIVER-2443 Make Distinct return a decodable struct "[]any"
- Closed
-
GODRIVER-2426 Distinct does not provide unmarshalling api
- Closed