(mongodb >=1.13.0)
La classe MongoDB\Driver\TopologyDescription est un objet de valeur qui représente une topologie à laquelle le pilote est connecté. Les instances de cette classe sont retournées par les méthodes de MongoDB\Driver\Monitoring\TopologyChangedEvent.
MongoDB\Driver\TopologyDescription::TYPE_UNKNOWNMongoDB\Driver\TopologyDescription::TYPE_SINGLEMongoDB\Driver\TopologyDescription::TYPE_SHARDEDMongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_NO_PRIMARYMongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_WITH_PRIMARYMongoDB\Driver\TopologyDescription::TYPE_LOAD_BALANCED