MongoWriteConcernException
PHP Manual

MongoWriteConcernException::getDocument

(No version information available, might only be in Git)

MongoWriteConcernException::getDocumentGet the error document

说明

public array MongoWriteConcernException::getDocument ( void )

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

参数

此函数没有参数。

返回值

A MongoDB document, if available, as an array.


MongoWriteConcernException
PHP Manual