(PECL mongo >= 1.0.0)

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


public MongoCursorException::getHost ( void ) : string

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


Ta funkcja nie posiada parametrów.

Zwracane wartości

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top