table of contents
| MONGOC_TOPOLOGY_DESCRIPTION_TYPE(3) | libmongoc | MONGOC_TOPOLOGY_DESCRIPTION_TYPE(3) |
SYNOPSIS¶
const char * mongoc_topology_description_type (const mongoc_topology_description_t *td);
PARAMETERS¶
- •
- td: A mongoc_topology_description_t <>.
DESCRIPTION¶
This function returns a string, one of the topology types defined in the Server Discovery And Monitoring Spec:
- Unknown
- Single
- Sharded
- ReplicaSetNoPrimary
- ReplicaSetWithPrimary
- LoadBalanced
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| November 26, 2025 | 2.2.0 |