MongoWriteConcernException::getDocument

(PECL mongo >= 1.5.0)

MongoWriteConcernException::getDocumentGet the error document

Descrierea

public MongoWriteConcernException::getDocument ( void ) : array

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

Parametri

Această funcție nu are parametri.

Valorile întoarse

A MongoDB document, if available, as an array.