MongoDB
Delete all documents in collection
use <db_name>
db.<collection_name>.remove({})
Show all databases
show dbs
Last updated
Was this helpful?
use <db_name>
db.<collection_name>.remove({})
show dbs
Last updated
Was this helpful?