how to get all records in mongodb code example Example: mongodb get all rows db.collectionName.find()