Returns the result document for the failed command

# MongoDB\Driver\Exception\CommandException::getResultDocument

(mongodb >= 1.5.0)

MongoDB\Driver\Exception\CommandException::getResultDocument — Returns the result document for the failed command

### 説明

final public MongoDB\Driver\Exception\CommandException::getResultDocument ( void ) : object

Returns the result document for the failed command.

### パラメータ

この関数にはパラメータはありません。

### 返り値

The result document for the failed command.

### 参考

- MongoDB\Driver\Manager::executeCommand() - Execute a database command