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

Consider a DistinctCursor collection method

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None

    Description

      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".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: