MongoDB\Driver\TopologyDescription::hasWritableServer
(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::hasWritableServer — Returns whether the topology has a writable server
Beschreibung
Returns whether the topology has a writable server.
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Returns whether the topology has a writable server.
Fehler/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.