What is the command which are use to drop database in mongodb?



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

Post New Answer

More MongoDB Interview Questions

What does mongodb mean?

1 Answers  


In which language mongodb is written?

1 Answers  


Mongodb uses bson to represent document structures. True or false?

1 Answers  


What is the advantage of mongodb?

1 Answers  


Does mongodb need a lot of ram?

1 Answers  


Who developed MongoDB and when?

1 Answers  


Which are the most powerful features in mongodb?

1 Answers  


How to determine the size of an index?

1 Answers  


What is BSON?

1 Answers  


Is mongodb support replication?

1 Answers  


How much is mongodb enterprise?

1 Answers  


Explain "namespace" in mongodb.

1 Answers  


Categories