📅  最后修改于: 2022-03-11 15:03:18.952000             🧑  作者: 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);
});