(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::getType — Returns a string denoting the type of this topology
Returns a string denoting the type of this topology. The value will correlate with a MongoDB\Driver\TopologyDescription constant.
この関数にはパラメータはありません。
Returns a string denoting the type of this topology.