Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2444

Consider a DistinctCursor collection method

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown 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".

            Assignee:
            Unassigned Unassigned
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: