编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « MongoCursorException::getHost
  • MongoConnectionException »
  • PHP Manual
  • Exceptions
  • The MongoCursorTimeoutException class

The MongoCursorTimeoutException class

(PECL mongo >= 1.0.0)

简介

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.

类摘要

MongoCursorTimeoutException extends MongoCursorException {
}
相关文章
php cairo the cairofillrule classphp cairo the cairooperator classphp cairo the cairosvgversion classphp dom the domnode classphp data structures the stack classphp event the eventhttprequest classphp gmagick the gmagick classphp imagemagick the imagick classphp 异常 the invalidargumentexception classphp exceptions the mongoconnectionexception classphp exceptions the mongocursorexception classphp exceptions the mongocursortimeoutexception classphp exceptions the mongoduplicatekeyexception classphp exceptions the mongoexception classphp exceptions the mongoexecutiontimeoutexception classphp exceptions the mongogridfsexception classphp exceptions the mongoprotocolexception classphp exceptions the mongowriteconcernexception classphp uopz 函数 get or set flags on function or classphp reflectionclassconstant gets the class constant modifiers
关注编程学问公众号
编程学问网 湘ICP备20001732号