How would I do this in mongoose, I could not find anything with an "or"
userModel.where('email')
.equals(req.body.email)
.or('username').equals(req.body.username) //need the "or"
.exec(function (err, docs) {
....
});