Please wait while we load your page...
 

Announcements

PHP Manual :: MongoCursorException::getHost



MongoCursorException || MongoCursorTimeoutException || PHP Manual

(PECL mongo >= 1.0.0)

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

Description

public string MongoCursorException::getHost ( void )

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

Parameters

This function has no parameters.

Return Values

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



MongoCursorException || MongoCursorTimeoutException || PHP Manual
Live Chat Not Available