参考MongoDB runCommand可选参数



我需要知道在哪里可以找到MongoDB runCommand的参考资源。

。有哪些命令可用,每个命令可以使用哪些可选参数。

例如,

db.runCommand({addshard: "10.0.4.85:27020", allowLocal : 1, maxSize:2, minKey: 1, maxKey:10});

谢谢

//更新//

maxSize

查看MongoDB命令参考(PDF)中最常用的列表。此外,为了获得完整的列表,卡片还提供了以下提示:

要获得服务器版本上可用的所有命令的列表,运行mongod——rest,然后访问http://localhost:28017/_commands in你的浏览器

最新更新