1MONGOC_TOPOLOGY_DESCRIPTION_TYPE(3)libmongocMONGOC_TOPOLOGY_DESCRIPTION_TYPE(3)
2
3
4
6 mongoc_topology_description_type - mongoc_topology_description_type()
7
9 const char *
10 mongoc_topology_description_type (const mongoc_topology_description_t *td);
11
13 • td: A mongoc_topology_description_t.
14
16 This function returns a string, one of the topology types defined in
17 the Server Discovery And Monitoring Spec:
18
19 • Unknown
20
21 • Single
22
23 • Sharded
24
25 • ReplicaSetNoPrimary
26
27 • ReplicaSetWithPrimary
28
29 • LoadBalanced
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.23.1 Oct 20, 202M2ONGOC_TOPOLOGY_DESCRIPTION_TYPE(3)