What is the command which are use to drop database in mongodb?
Answer / Pulkit Sharma
The command to drop a database in MongoDB is 'db.databaseName.drop()'. Replace 'databaseName' with the name of the database you want to drop.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between mongodb and elasticsearch?
List some alternatives to mongodb?
How do I start mongodb in ubuntu?
What are alternatives to mongodb?
How can I see the connections which you used in mongos?
Can we store files in mongodb?
What is the difference between mongodb and redis database?
How does mongodb replica set work?
How does mongodb provide concurrency?
Is mongodb unstructured?
Can we use mongodb with java?
Why 32 bit version of mongodb are not preferred ?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)