mongodb 获取数组长度

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

 

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