Wednesday, March 26, 2014

Mongo 2.4.9 - getSisterDB

- show dbs

test
test1

- db

test

- db.getSisterDB('test1').collection.count()

123

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.