Answers for "mongo remove all tables"

Go
0

mongo remove all tables

mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSiblingDB(i).dropDatabase()})'
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language