Exceptions
PHP Manual

The MongoResultException class

(PECL mongo >=1.3.0)

Introduzione

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().

Sommario dellla classe

MongoResultException extends MongoException {
/* Proprietà */
public $document ;
/* Metodi */
public array getDocument ( void )
}

Proprietà

document

The raw result document as an array.

Indice dei contenuti


Exceptions
PHP Manual