personal.remove({_id: req.body.id})
personal.remove({_id: req.body.id}, (err, results) => {
})
_id : ObjectId("5f9835f3f2f8725de17042ec")
console.log(req.body.id) => 5f9835f3f2f8725de17042ec
clients.find({_id : "5f9835f3f2f8725de17042ec"})
id = "5f9835f3f2f8725de17042ec"
clients.find({_id : id})</code
Ответа от бд нет.
app.post('/personalList', urlencodedParser, function(req, res){
personal.remove({_id: req.body.id })
res.redirect('personalList')
})