Navigation
This version of the documentation is archived and no longer supported.

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()