编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 各种类及接口 the arrayobject classphp cairo the cairofontweight classphp cairo the cairopssurface classphp componere the componere value classphp dom the domcomment classphp com the dotnet classphp ev the evchild classphp ev the evio classphp 迭代器 the filteriterator classphp haru the harudoc classphp intl the intlcalendar 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 class
关注编程学问公众号
编程学问网 湘ICP备20001732号