Thursday 20 December 2018

How to drop multiple databases at a time via MongoDB Compass

Totally a noob question, and I know this is typically not something you'd want to do, but I've been taking a MongoDB tutorial course which includes Jest testing and for some reason the test suites have been generating hundreds of DBs that are now showing up in my compass. I have about 502 DBs and I only care about 5 or 6 of them. Manually dropping each one sounds tedious and I feel like there's definitely got to be a better way but google hasn't helped me out very much. please help a brother out.

Submitted December 20, 2018 at 05:01PM by trblackwell1221

No comments:

Post a Comment