📅  最后修改于: 2022-03-11 14:56:02.542000             🧑  作者: Mango
代码示例1
const agg = Model.aggregate([{ $match: { age: { $gte: 25 } } }]);
for await (const doc of agg) {
console.log(doc.name);
}