📅  最后修改于: 2022-03-11 15:01:59.756000             🧑  作者: Mango
代码示例2
var ObjectId = require('mongoose').Types.ObjectId;
User.aggregate([
{
$match: { _id: ObjectId('560c24b853b558856ef193a3') }
}
])