PHP 5.6.0 released

The MongoExecutionTimeoutException class

(PECL mongo >= 1.5.0)

Introduction

Thrown when a operation times out server side (i.e. in MongoDB).

To configure the operation timeout threshold, use MongoCursor::maxTimeMS() or the "maxTimeMS" command option.

Class synopsis

MongoExecutionTimeoutException extends MongoException {
/* Inherited properties */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
}
add a note add a note

User Contributed Notes

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