| 返回: | 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).
© 版权 2011-2013, 10gen, Inc. MongoDB®, Mongo®, and the leaf logo are registered trademarks of 10gen, Inc.
