发布于 2015-09-14 15:02:09 | 87 次阅读 | 评论: 0 | 来源: 网络整理		
	    
            
  
- 
sh._adminCommand(cmd, checkMongos)
- 
| 参数: | 
dbcommand (string) – A database command to run against the admin
database.checkMongos (Boolean) – Verify whether or not the shell is connected
to a mongos instance. | 
|---|
 
 - The sh._adminCommand method runs a database command against
the admin database of a mongos instance.