MongoDB\Driver\Exception\CommandException::getResultDocument
PHP Manual
PHP Manual»MongoDB\Driver\Exception\CommandException»MongoDB\Driver\Exception\CommandException::getResultDocument

MongoDB\Driver\Exception\CommandException::getResultDocument

(mongodb >= 1.5.0)

MongoDB\Driver\Exception\CommandException::getResultDocumentReturns the result document for the failed command

Опис

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

Returns the result document for the failed command.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

The result document for the failed command.

Прогляньте також

To Top