Posted On: Mar 27, 2020
The creation of the collection is the basic step in MongoDB. Here is the syntax for creating a collection in MongoDB-
Db.createCollection (name, options)
Dropping a collection basically means deleting a collection. Following is the syntax for dropping a collection in MongoDB-
Never Miss an Articles from us.