MongoDB\Driver\Exception\CommandException
PHP Manual

MongoDB\Driver\Exception\CommandException::getResultDocument

(mongodb >= 1.5.0)

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

Description

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

Returns the result document for the failed command.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

The result document for the failed command.

Voir aussi


MongoDB\Driver\Exception\CommandException
PHP Manual