| Start | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Create a Collection First Select Or Create a database. Using Using The
The fllowing example shows the syntax of Both the Now, Show All the collections using If you want to see the inserted document, use the |
|||||||||
| Drop Collection MongoDB's First, check the available collections into your database Now drop the collection with the name Note: If the collection droped successfully then the method will return Again check the list of collections into database. Reference: MongoDB drop() (opens new window) Method. RemarksCreate Database |
Read Article
https://develop.horje.com/learn/1434/reference