get all data from a collection mongodb code example Example: show collection data in mongodb db.collectionName.find()