MongoDB\Driver\TopologyDescription::getType
(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::getType — Returns a string denoting the type of this topology
Beschreibung
Returns a string denoting the type of this topology. The value will correlate with a MongoDB\Driver\TopologyDescription constant.
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Returns a string denoting the type of this topology.
Fehler/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.