Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_SERVER_...PTION_ISMASTER(3) libmongocMONGOC_SERVER_...PTION_ISMASTER(3)

WARNING:
	  Deprecated	     since	   version	   1.18.0:	   Use
	  mongoc_server_description_hello_response() instead.

SYNOPSIS
	  const	bson_t *
	  mongoc_server_description_ismaster (
	     const mongoc_server_description_t *description);

PARAMETERS
        description: A	mongoc_server_description_t.

DESCRIPTION
       The client or client pool periodically runs a "hello" command  on  each
       server,	 to   update   its   view   of	the  MongoDB  deployment.  Use
       mongoc_client_get_server_descriptions()	 and	mongoc_server_descrip-
       tion_hello_response() to	get the	most recent "hello" response.

RETURNS
       A  reference  to	 a BSON	document, owned	by the server description. The
       document	is empty if the	driver is not connected	to the server.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 202MONGOC_SERVER_...PTION_ISMASTER(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_server_description_ismaster&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help