# MongoDB\Driver\Exception\CommandException::getResultDocument

(mongodb >= 1.5.0)

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

### Beschreibung

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

Returns the result document for the failed command.

### Parameter-Liste

Diese Funktion besitzt keine Parameter.

### Rückgabewerte

The result document for the failed command.

### Siehe auch

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open