1MONGOC_TOPOLOGY_DESCRIPTION_HMAOSN_GWORCI_TlTAiOBbPLmOEoL_nOSgGEoYRc_VDEERS(C3R)IPTION_HAS_WRITABLE_SERVER(3)
2
3
4

SYNOPSIS

6          bool
7          mongoc_topology_description_has_writable_server (
8             const mongoc_topology_description_t *td);
9
10       Determines  if  the topology has a writable server available, such as a
11       primary, mongos, or standalone. This function uses the driver's current
12       knowledge of the state of the MongoDB server or servers it is connected
13       to; it does no I/O and it does not block.
14

PARAMETERS

16td: A mongoc_topology_description_t.
17

RETURNS

19       True if there is a known writable server.
20
21       SEE ALSO:
22          Introduction to Application Performance Monitoring
23
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.25.1                      MONGONCo_vTO0P8O,LO2G0Y2_3DESCRIPTION_HAS_WRITABLE_SERVER(3)
Impressum