GoLang MongoDB\Driver\Exception\CommandException::getResultDocument

request it (360)
GoLang replacement for PHP's MongoDB\Driver\Exception\CommandException::getResultDocument [edit | history]



Do you know a GoLang replacement for PHP's MongoDB\Driver\Exception\CommandException::getResultDocument? Write it!

PHP MongoDB\Driver\Exception\CommandException::getResultDocument

PHP original manual for MongoDB\Driver\Exception\CommandException::getResultDocument [ show | php.net ]

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.

Parameters

This function has no parameters.

Return Values

The result document for the failed command.

See Also