MongoDB\Driver\Monitoring\CommandStartedEvent::getHost

(mongodb >=1.20.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getHostDevuelve el nombre del host del servidor para el comando

Descripción

final public MongoDB\Driver\Monitoring\CommandStartedEvent::getHost(): string

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve el nombre del host del servidor en el que se ejecutó el comando.

Errores/Excepciones

add a note

User Contributed Notes

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