Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1215

db.listCollections is not a function

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: None
    • Labels:

      I was using "mongodb": "^2.2.33", version. Today I have updated mongoDB version to "mongodb": "^3.0.0-rc0" . After updation my code started giving errors.

      1. db.listCollections is not a function
      2. dbconnectionManager.getconnection(...).collection is not a function

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            rsuryawanshi@onenetwork.com Ravi Suryawanshi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: