Home »
MCQs »
MongoDB MCQs
In MongoDB, db.dropDatabase () is used for ___
29. In MongoDB, db.dropDatabase () is used for ___.
- Dropping Databases
- Creating a Collection
- Database Creation
- None of the mentioned above
Answer: A) Dropping Databases
Explanation:
In MongoDB, the db.dropDatabase () function is used to remove databases from the system. This command has an effect on the currently active database.