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

Add Database() method on mongo.Collection

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.15
    • Affects Version/s: None
    • Component/s: None
    • None

      Just as mongo.Database offers a "Client" method, the mongo.Collection object should offer a "Database" method to look up in the object hierarchy. This would also help with feature parity with mgo, which makes "Database" a public property of mgo.Collection.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: