📅  最后修改于: 2022-03-11 14:55:39.827000             🧑  作者: Mango
//e.g. : There's an array of Team Ids which needs to find documents from db
Team.find({
'_id': { $in: teamIds.split(',') }
}, function(err, teamData) {
console.log("teams name " + teamData);
});