Delete Document
To delete one document, we use the delete_one()
method.
The first parameter of the delete_one()
method is a query object defining which document to delete.
Note: If the query finds more than one document, only the first occurrence is deleted.