[SERVER-2159] Add db.getSiblingDB("name") in javascript Created: 30/Nov/10  Updated: 12/Jul/16  Resolved: 30/Nov/10

Status: Closed
Project: Core Server
Component/s: JavaScript, Shell
Affects Version/s: None
Fix Version/s: 1.7.4

Type: Improvement Priority: Trivial - P5
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Can we phase out getSisterDB, and vow to keep these sexist methods names out of the system?

If you don't like the getDB, we could go with getSibling, or getPeer (assuming that you feel all db are created equal)?



 Comments   
Comment by auto [ 30/Nov/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: added getSiblingDB SERVER-2159
/mongodb/mongo/commit/1808b5693904a2e89bfa96dcafdbea5e9d491987

Generated at Thu Feb 08 02:59:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.