Remove MongoDB Database from terminal
mongo DB_NAME --eval 'db.dropDatabase();'
A remote host:
mongo hostip/DBNAME --eval 'db.dropDatabase();'
Written by Michel Wilhelm
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#