update : 2015.11.03
php.shukuma.com

검색:
 
 
The MongoResultException class

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.

Table of Contents