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

SYNOPSIS

10          const bson_t *
11          mongoc_server_description_ismaster (
12             const mongoc_server_description_t *description);
13

DEPRECATED

15       WARNING:
16          This function is deprecated and should not be used in new code.
17
18       Please use mongoc_server_description_hello_response() instead.
19

PARAMETERS

21description: A mongoc_server_description_t.
22

DESCRIPTION

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

RETURNS

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

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.20.0                           Nov 18, 2M0O2N1GOC_SERVER_DESCRIPTION_ISMASTER(3)
Impressum