Exceptions
PHP Manual

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 ;
/* 方法 */
public array getDocument ( void )
}

属性

document

The raw result document as an array.

Table of Contents


Exceptions
PHP Manual