mongo command to show collection records code example Example: show collection data in mongodb db.collectionName.find()