Hi, I’m Dung Huynh Duc . Nice to meet you.

About Me

I’m a full stack developer. I’m a fast learner and self-taught coder. I often take my time for researching and learning about hot and trending technology.

blog_hero_#TIL 9 - Delete all databases on mongo db on local
MongoDb
CLI

#TIL 9 - Delete all databases on mongo db on local

Dung Huynh

Thu Feb 04 2021

    mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSiblingDB(i).dropDatabase()})'