1MONGOC_TOPOLOGY_DESCRIPTION_HMAOSN_GWORCI_TlTAiOBbPLmOEoL_nOSgGEoYRc_VDEERS(C3R)IPTION_HAS_WRITABLE_SERVER(3)
2
3
4
6 mongoc_topology_description_has_writable_server - mongoc_topology_de‐
7 scription_has_writable_server()
8
10 bool
11 mongoc_topology_description_has_writable_server (
12 const mongoc_topology_description_t *td);
13
14 Determines if the topology has a writable server available, such as a
15 primary, mongos, or standalone. This function uses the driver's current
16 knowledge of the state of the MongoDB server or servers it is connected
17 to; it does no I/O and it does not block.
18
20 • td: A mongoc_topology_description_t.
21
23 True if there is a known writable server.
24
25 SEE ALSO:
26 Introduction to Application Performance Monitoring
27
28
30 MongoDB, Inc
31
33 2017-present, MongoDB, Inc
34
35
36
37
381.24.3 MONGOACu_gTO1P7O,LO2G0Y2_3DESCRIPTION_HAS_WRITABLE_SERVER(3)