📅  最后修改于: 2022-03-11 14:59:33.845000             🧑  作者: Mango
const ObjectId = mongoose.Types.ObjectId;
const User = mongoose.model('User')
User.aggregate([
{
$match: { _id: ObjectId('560c24b853b558856ef193a3') }
}
])