1MONGOC_SERVER_DESCRIPTION_ISMASTER(3l)ibmongMoOcNGOC_SERVER_DESCRIPTION_ISMASTER(3)
2
3
4

NAME

6       mongoc_server_description_ismaster  -  mongoc_server_description_ismas‐
7       ter()
8
9       WARNING:
10          Deprecated since version 1.18.0: This  function  is  deprecated  and
11          should not be used in new code.
12
13          Please use mongoc_server_description_hello_response() in new code.
14
15

SYNOPSIS

17          const bson_t *
18          mongoc_server_description_ismaster (
19             const mongoc_server_description_t *description);
20

PARAMETERS

22description: A mongoc_server_description_t.
23

DESCRIPTION

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

RETURNS

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

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.24.3                           Aug 17, 2M0O2N3GOC_SERVER_DESCRIPTION_ISMASTER(3)
Impressum