MONGOCURSORTIMEOUTEXCEPTION(3) 1 MONGOCURSORTIMEOUTEXCEPTION(3)
The MongoCursorTimeoutException class
INTRODUCTION
Caused by a query timing out. You can set the length of time to wait before this exception is thrown by calling MongoCursor.timeout(3) on
the cursor or setting MongoCursor::$timeout. The static variable is useful for queries such as database commands and MongoCollection.find-
One(3), both of which implicitly use cursors.
CLASS SYNOPSIS
MongoCursorTimeoutException
MongoCursorTimeoutExceptionextends
MongoCursorException
PHP Documentation Group MONGOCURSORTIMEOUTEXCEPTION(3)