PHP 5.6.0 released

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() on the cursor or setting MongoCursor::$timeout. The static variable is useful for queries such as database commands and MongoCollection::findOne(), both of which implicitly use cursors.

Class synopsis

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top