mapReduce から入力されたモデルに適用される正規表現に応じてドキュメントを取得する必要がありますが、それを達成できません。
Article.authors(function(err, model){
model.find({ '_id.surname': /^A/ })
.populate({ path: '_id', model: 'Author' })
.exec(function(err, authors){
...
});
});
手伝って頂けますか?上記は私に何も示していません...