Is it possible to show all collections and its contents in MongoDB?
Is the only way to show one by one?
This will do:
db.getCollectionNames().forEach(c => { db[c].find().forEach(d => { print(c); printjson(d) }) })