标签: mongoose count
我如何在例如查找结果中获取数组计数
Person.find({'exployment.office':'Greenway'}) .exec(function(err, result){ //number of items in result }); //how can I get the array of result which is number of items in the result.