mongoDB根据_id进行查询

var ObjectID = require('mongodb').ObjectID;

whereStr = {_id:ObjectID(req.body._id)}

猜你喜欢

转载自www.cnblogs.com/LemonTree-7/p/9789581.html