PHP 8.4.6 Released!

MongoDB\Driver\Exception\CommandException::getResultDocument

(mongodb >= 1.5.0)

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

Description

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

Returns the result document for the failed command.

Parameters

This function has no parameters.

Return Values

The result document for the failed command.

See Also

User Contributed Notes

There are no user contributed notes for this page.
To Top