OPTIONS

cursor.noCursorTimeout()

Definition

cursor.noCursorTimeout()

Instructs the server to avoid closing a cursor automatically after a period of inactivity.

The noCursorTimeout() method has the following prototype form:

db.collection.find(<query>).noCursorTimeout()

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.