MongoCursorException::getHost

(PECL mongo >= 1.0.0)

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

Descrição

public MongoCursorException::getHost ( void ) : string

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.