MongoCursorException
PHP Manual

MongoCursorException::getHost

(No hay información de versión disponible, podría estar únicamente en SVN)

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

Descripción

public string MongoCursorException::getHost ( void )

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

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


MongoCursorException
PHP Manual