mongodb 获取数组长度

db.foo.count({"type":1});

 

posted @ 2018-09-04 15:01  穷开心y  阅读(3593)  评论(0编辑  收藏  举报