DOKK / manpages / debian 13 / libmongoc-doc / mongoc_topology_description_type.3.en
MONGOC_TOPOLOGY_DESCRIPTION_TYPE(3) libmongoc MONGOC_TOPOLOGY_DESCRIPTION_TYPE(3)

const char *
mongoc_topology_description_type (const mongoc_topology_description_t *td);


td: A mongoc_topology_description_t.

This function returns a string, one of the topology types defined in the Server Discovery And Monitoring Spec:

  • Unknown
  • Single
  • Sharded
  • ReplicaSetNoPrimary
  • ReplicaSetWithPrimary
  • LoadBalanced

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4