MongoCursorException
PHP Manual

MongoCursorException::getHost

(PECL mongo >= 1.0.0)

MongoCursorException::getHostThe hostname of the server that encountered the error

Descrizione

public string MongoCursorException::getHost ( void )

Returns the hostname of the server the query was sent too.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the hostname, or NULL if the hostname is unknown.


MongoCursorException
PHP Manual