MongoDB Show all contents from all collections
问题 Is it possible to show all collections and its contents in MongoDB? Is the only way to show one by one? 回答1: Once you are in terminal/command line, access the database/collection you want to use as follows: show dbs use <db name> show collections choose your collection and type the following to see all contents of that collection: db.collectionName.find() More info here on the MongoDB Quick Reference Guide. 回答2: Step 1: See all your databases: show dbs Step 2: Select the database use your