MongoDB

Delete all documents in collection

use <db_name>
db.<collection_name>.remove({})

Show all databases

show dbs

Last updated