In this article, we will see how to get all collections from all databases in in MongoDB Server. We can get all databases and the collections in them by using db.getMongo() and db.getDBNames() methods with forEach method.
1. Run the following command from mongo shell.
Continue reading How to get all collections from all databases in MongoDB