OPTIONS
翻译或纠错本页面

db.collection.dataSize()

db.collection.dataSize()
返回:返回集合的大小。此方法封装了 collStats (i.e. db.collection.stats()) 命令返回的集合大小( size )信息。