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
30 MongoDB, Inc
31
33 2017-present, MongoDB, Inc
34
35
36
37
381.17.6 Jun 03, 202M1ONGOC_TOPOLOGY_DESCRIPTION_TYPE(3)