UserModel.findOneAndUpdate(_id, data)
.select({property: 0})
UserModel.findOneAndUpdate(_id, data)
.select({property: 0})
.exec(function(err, user) {
//...
});
UserModel.findOneAndUpdate(_id, data)
.select({property: 0})
.then(user => {
//...
})
.catch(err => {
//...
});