print contents of a collection mongo code example Example: show collection data in mongodb db.collectionName.find()