db.listCollections is not a function

XMLWordPrintableJSON

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

      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
            Reporter:
            Ravi Suryawanshi
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: