[DOCS-1568] Docs for getSiblingDB() do not mention its required parameter Created: 05/Jun/13  Updated: 30/Oct/23  Resolved: 05/Jun/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.4
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Tad Marshall Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-9863 JavaScript execution failed after db.... Closed
Participants:
Days since reply: 10 years, 37 weeks ago

 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.



 Comments   
Comment by auto [ 05/Jun/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1568: improving db.getSiblingDB() reference page
Branch: master
https://github.com/mongodb/docs/commit/251409cdd107e6929bfe7f95ba1bc89fcbdc1d56

Generated at Thu Feb 08 07:41:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.