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

ListCollections and IndexView.List should include a type to unmarshal into

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: CRUD
    • Labels:

      Currently, ListCollections returns a cursor. In order to unmarshal this cursor, you have to create a struct that matches the output of ListCollections. It would be helpful if the Go driver provided this type.

      EDIT: A similar helper type was also added for IndexView.List in scope of this ticket.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            brian.samek@mongodb.com Brian Samek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: