Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3149

GridFS lacks a constructor that receives Database instead of DB

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.9.1
    • Component/s: GridFS
    • Labels:
      None
    • Minor Change

      GridFS has a constructor that receives a `DB` object, however obtaining a DB object `getDb()`is deprecated now in MongoClient `client.getDB(String name)`. So probably a new constructor or a viable alternative to instantiate GridFS is needed.

       

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            iemejia Ismaël Mejia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: