发布于 2015-09-14 14:50:28 | 99 次阅读 | 评论: 0 | 来源: 网络整理
返回: | nothing |
---|---|
Throws : | “not connected to a mongos” |
The sh._checkMongos() method throws an error message if the mongo shell is not connected to a mongos instance. Otherwise it exits (no return document or return code).