0
我怎么会在猫鼬做到这一点,我无法找到一个“或”猫鼬那里查询用“或”
userModel.where('email')
.equals(req.body.email)
.or('username').equals(req.body.username) //need the "or"
.exec(function (err, docs) {
....
});