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

### Descrierea

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

Returns the result document for the failed command.

### Parametri

Această funcție nu are parametri.

### Valorile întoarse

The result document for the failed command.

### A se vedea și

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