发布于 2015-09-14 14:59:38 | 238 次阅读 | 评论: 0 | 来源: 网络整理
Provides a wrapper around the db.collection.stats() method. Returns statistics from every collection separated by three hyphen characters.
注解
The db.printCollectionStats() in the mongo shell does not return JSON. Use db.printCollectionStats() for manual inspection, and db.collection.stats() in scripts.
也可以参考
“集合统计“