1MONGOC_SERVER_DESCRIPTION_TYPE(3M)ongoDB C DriveMrONGOC_SERVER_DESCRIPTION_TYPE(3)
2
3
4
6 mongoc_server_description_type - mongoc_server_description_type()
7
9 const char *
10 mongoc_server_description_type (const mongoc_server_description_t *description);
11
13 · description: A mongoc_server_description_t.
14
16 This function returns a string, one of the server types defined in the
17 Server Discovery And Monitoring Spec:
18
19 · Standalone
20
21 · Mongos
22
23 · PossiblePrimary
24
25 · RSPrimary
26
27 · RSSecondary
28
29 · RSArbiter
30
31 · RSOther
32
33 · RSGhost
34
35 · Unknown
36
38 MongoDB, Inc
39
41 2017-present, MongoDB, Inc
42
43
44
45
461.13.1 Jan 24, 2019MONGOC_SERVER_DESCRIPTION_TYPE(3)