MongoDB\Driver\Monitoring\CommandFailedEvent::getHost
Returns the server hostname for the command
説明
final public string MongoDB\Driver\Monitoring\CommandFailedEvent::getHost()
戻り値
Returns the hostname of the server on which the command was executed.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.