The MongoResultException class

(PECL mongo >=1.3.0)

Вступ

The MongoResultException is thrown by several command helpers (such as MongoCollection::findAndModify()) in the event of failure. The original result document is available through MongoResultException::getDocument().

Короткий Огляд Класа

MongoResultException extends MongoException {
/* Властивості */
public $document ;
/* Успадковані властивості */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Методи */
public array getDocument ( void )
}

Властивості

document

The raw result document as an array.

Зміст

add a note add a note

User Contributed Notes

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