Provided by: libmongoc-doc_1.9.2+dfsg-1build1_all 

NAME
mongoc_topology_description_has_writable_server - mongoc_topology_description_has_writable_server()
SYNOPSIS
bool
mongoc_topology_description_has_writable_server (
mongoc_topology_description_t *td);
Determines if the topology has a writable server available, such as a primary, mongos, or standalone.
This function uses the driver's current knowledge of the state of the MongoDB server or servers it is
connected to; it does no I/O and it does not block.
PARAMETERS
• td: A mongoc_topology_description_t.
RETURNS
True if there is a known writable server.
SEE ALSO
Introduction to Application Performance Monitoring
AUTHOR
MongoDB, Inc
COPYRIGHT
2018, MongoDB, Inc
1.9.3-dev Feb 05, 2018 MONGOC_TOPOLOGY_DESC...N_HAS_WRITABLE_SERVER(3)