query to see database collection detail in mongo code example Example: show collection data in mongodb db.collectionName.find()