- Reference >
- mongo Shell Methods >
- Cursor Methods >
- cursor.hasNext()
cursor.hasNext()¶
- cursor.hasNext()¶
Returns: Boolean. cursor.hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.