how to check particular data in mongodb collection code example Example: mongodb get all rows db.collectionName.find()