1MONGOC_SERVER_DESCRIPTION_ISMASTER(3l)ibmongMoOcNGOC_SERVER_DESCRIPTION_ISMASTER(3)
2
3
4
6 mongoc_server_description_ismaster - mongoc_server_description_ismas‐
7 ter()
8
10 const bson_t *
11 mongoc_server_description_ismaster (
12 const mongoc_server_description_t *description);
13
15 · description: A mongoc_server_description_t.
16
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
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
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.17.4 Feb 04, 2M0O2N1GOC_SERVER_DESCRIPTION_ISMASTER(3)