1MONGOC_SERVER_DESCRIPTION_ISMASTMEoRn(g3o)DB C DMrOiNvGeOrC_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

PARAMETERS

15       · description: A mongoc_server_description_t.
16

DESCRIPTION

18       The client or client pool periodically runs an  "isMaster"  command  on
19       each  server,  to  update  its view of the MongoDB deployment. Use mon‐
20       goc_client_get_server_descriptions()     and     mongoc_server_descrip‐
21       tion_ismaster() to get the most recent "isMaster" response.
22

RETURNS

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

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.13.1                           Jan 24, 2M0O1N9GOC_SERVER_DESCRIPTION_ISMASTER(3)
Impressum