mongodb view rows of a collection code example Example: show collection data in mongodb db.collectionName.find()