MongoCursorException
PHP Manual

MongoCursorException::getHost

(Информация о версии неизвестна, возможно, только в SVN)

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

Описание

public string MongoCursorException::getHost ( void )

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

Список параметров

У этой функции нет параметров.

Возвращаемые значения

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


MongoCursorException
PHP Manual