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.

MongoDb
CLI

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

blog_hero_#TIL 9 - Delete all databases on mongo db on local
    mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSiblingDB(i).dropDatabase()})'