Skip to content
Permalink
Browse files

Update delete-one-document-using-model.findbyidandremove.english.md (#…

  • Loading branch information
ThePrakashKumar authored and RandellDawson committed Jan 11, 2020
1 parent ca592d9 commit e925e854f169a2dae8fc7c11a474b7305a94bf7a
@@ -7,7 +7,7 @@ forumTopicId: 301539

## Description
<section id='description'>
Delete one person by the person's <code>_id</code>. You should use one of the methods <code>findByIdAndRemove()</code> or <code>findOneAndRemove()</code>. They are like the previous update methods. They pass the removed document to the cb. As usual, use the function argument <code>personId</code> as the search key.
Delete one person by the person's <code>_id</code>. You should use one of the methods <code>findByIdAndRemove()</code> or <code>findOneAndRemove()</code>. They are like the previous update methods. They pass the removed document to the db. As usual, use the function argument <code>personId</code> as the search key.
</section>
## Instructions

0 comments on commit e925e85

Please sign in to comment.
You can’t perform that action at this time.