- Reference >
mongoShell Methods >- Cursor Methods >
- cursor.next()
cursor.next()¶
-
cursor.next()¶ Returns: The next document in the cursor returned by the db.collection.find()method. Seecursor.hasNext()related functionality.
mongo Shell Methods > cursor.next()¶| Returns: | The next document in the cursor returned by the
db.collection.find() method. See
cursor.hasNext() related functionality. |
|---|