MongoDB Drop collection
In MongoDB, we can manually drop a collection to completely delete a collection from a database using db.collection_name.drop() method. Type the command use DATABASE_NAME in the command prompt to create a new database or to select the already created database with the respective name. For Example: use Hellodb Type the command show collections in the … Read more