MongoWriteConcernException
PHP Manual

MongoWriteConcernException::getDocument

(PECL mongo >= 1.5.0)

MongoWriteConcernException::getDocumentGet the error document

Descrição

public array MongoWriteConcernException::getDocument ( void )

Returns the actual response from the server that was interperated as an error.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

A MongoDB document, if available, as an array.


MongoWriteConcernException
PHP Manual