中文社区首页
博客
讨论区
Try it Out
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
2.6 (current)
2.4
2.2
Formats
HTML
PDF
EPUB
Contribute
Report a Problem
直接翻译或纠错本页面
翻译或纠错本页面
Reference
>
mongo
Shell Methods
>
分片方法
>
sh._adminCommand()
sh._adminCommand()
¶
Definition
¶
sh.
_adminCommand
(
command
,
checkMongos
)
¶
Runs a database command against the admin database of a
mongos
instance.
Parameter
Type
Description
command
string
A database command to run against the
admin
database.
checkMongos
boolean
Require verification that the shell is connected to a
mongos
instance.
参见
db.runCommand()
←
分片方法
sh._checkFullName()
→
ON THIS PAGE
sh._adminCommand()
Definition
Report a Problem