dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

MongoResultException::getDocument> <MongoException
[edit] Last updated: Fri, 28 Jun 2013

view this page in

The MongoResultException class

(PECL mongo >=1.3.0)

Introduction

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

Class synopsis

MongoResultException extends MongoException {
/* Properties */
public $document ;
/* Inherited properties */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Methods */
public array getDocument ( void )
}

Properties

document

The raw result document as an array.

Table of Contents



add a note add a note User Contributed Notes MongoResultException - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites