(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::hasWritableServer — Returns whether the topology has a writable server
Returns whether the topology has a writable server.
この関数にはパラメータはありません。
Returns whether the topology has a writable server.