So far we have learned about create, update and retrieve of CRUD operation. In this lecture we will learn how to delete a document from a collection. We are going to understand following method :
* deleteOne(): deletes a single document from a given collection.
* deleteMany(): deletes multiple documents from a collection.
* remove(): can delete single or multiple documents (deprecated)
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.