Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1568

Docs for getSiblingDB() do not mention its required parameter

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • mongodb-2.4
    • manual
    • None

    Description

      http://docs.mongodb.org/manual/reference/method/db.getSiblingDB/ says "Used to return another database without modifying the db variable in the shell environment."

      The function description should state that this function takes a string parameter holding the name of the desired database. An example would make this more clear.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 37 weeks ago