show details on a collection mongodb code example Example: show collections in mongodb db.getCollectionNames()