MongoResultException
PHP Manual

MongoResultException::getDocument

(PECL mongo >=1.3.0)

MongoResultException::getDocumentRetrieve the full result document

说明

public array MongoResultException::getDocument ( void )

Retrieves the full error result document.

参数

此函数没有参数。

返回值

The full result document as an array, including partial data if available and additional keys.


MongoResultException
PHP Manual