MongoCursorException::getHost
(PECL mongo >= 1.0.0)
MongoCursorException::getHost — The hostname of the server that encountered the error
Descrição
public string MongoCursorException::getHost
( void
)
Returns the hostname of the server the query was sent too.
Parâmetros
Esta função não possui parâmetros.
Valor Retornado
Returns the hostname, or NULL if the hostname is unknown.