db.getCollectionNames()
db.collectionName.find()
JavaScript (shell): db.getCollectionNames() Node.js: db.listCollections()