略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoCursorTimeoutException

2024-12-24

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 {
}
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.mongocursortimeoutexception.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3