What is your hint or solution suggestion?
Model.findByIdAndRemove(id, options, callback)
callback: (err, removedDoc)=>if(err)...; done(null, removedDoc)
Challenge: Delete One Document Using model.findByIdAndRemove
Link to the challenge:
What is your hint or solution suggestion?
Model.findByIdAndRemove(id, options, callback)
callback: (err, removedDoc)=>if(err)...; done(null, removedDoc)
Challenge: Delete One Document Using model.findByIdAndRemove
Link to the challenge:
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.