(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::hasWritableServer — Returns whether the topology has a writable server
Returns whether the topology has a writable server.
Cette fonction ne contient aucun paramètre.
Returns whether the topology has a writable server.