MongoDB delete database

Published on 2024-05-18 by Raul

You know now how to create a MongoDB database.

Let's delete it:

> use WhateverDatabase
> db.dropDatabase();

 That's it. Deleted.


Keep in touch


About

Hey there, I'm Raul, owner of CreativeCLR, a small consulting company.

Feel free to drop me any question you might have on this post using the comment section or the contact page.