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

NAME

6       mongoc_topology_description_has_writable_server  -  mongoc_topology_de‐
7       scription_has_writable_server()
8

SYNOPSIS

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

PARAMETERS

20td: A mongoc_topology_description_t.
21

RETURNS

23       True if there is a known writable server.
24
25       SEE ALSO:
26          Introduction to Application Performance Monitoring
27
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.23.1                      MONGOOCc_tTO2P0O,LO2G0Y2_2DESCRIPTION_HAS_WRITABLE_SERVER(3)
Impressum