MongoDB\Driver\Exception\CommandException::getResultDocument
(mongodb >= 1.5.0)
MongoDB\Driver\Exception\CommandException::getResultDocument — Returns the result document for the failed command
说明
Returns the result document for the failed command.
参数
此函数没有参数。
返回值
The result document for the failed command.
参见
- MongoDB\Driver\Manager::executeCommand() - Execute a database command