Cara memperbarui satu db mongoose

model.updateOne({_id:'YOURID'}, {DATA YOU WANT TO UPDATE}, (err, result) => {
	if(err) throw err
    
    console.log(err)
})
Motionless Macaque