On this page
cursor.hasNext()
cursor.hasNext( )-
Returns: Boolean. cursor.hasNext()returnstrueif the cursor returned by thedb.collection.find()query can iterate further to return more documents.
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.