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