get all records from documents mongo db code example Example: mongodb get all rows db.collectionName.find()