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

Error in mongodb node documentation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Ubuntu 12.04
      Node v0.10.18
      Mongo 2.4.6

    Description

      This example associated with this section http://mongodb.github.io/node-mongodb-native/api-generated/admin.html#listdatabases returns the following error:

      var adminDb = db.admin();
      ^
      TypeError: Cannot call method 'admin' of null

      Attachments

        Activity

          People

            Unassigned Unassigned
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: