GridFS lacks a constructor that receives Database instead of DB

XMLWordPrintableJSON

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

      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 Lawley
            Reporter:
            Ismaël Mejia
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: