摘要: 需要对 id 进行转换 const mongoose = require('mongoose') var ObjectId = mongoose.Types.ObjectId; await Users.aggregate([ { $match : { "_id":new ObjectId("5asd 阅读全文
posted @ 2020-01-19 18:01 武卡卡 阅读(1677) 评论(0) 推荐(0) 编辑