array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'mongodb-driver-topologydescription.haswritableserver.php', 1 => 'MongoDB\\Driver\\TopologyDescription::hasWritableServer', 2 => 'Returns whether the topology has a writable server', ), 'up' => array ( 0 => 'class.mongodb-driver-topologydescription.php', 1 => 'MongoDB\\Driver\\TopologyDescription', ), 'prev' => array ( 0 => 'mongodb-driver-topologydescription.hasreadableserver.php', 1 => 'MongoDB\\Driver\\TopologyDescription::hasReadableServer', ), 'next' => array ( 0 => 'class.mongodb-driver-writeconcernerror.php', 1 => 'MongoDB\\Driver\\WriteConcernError', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/topologydescription/haswritableserver.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\TopologyDescription::hasWritableServer

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::hasWritableServerReturns whether the topology has a writable server

Beschreibung

final public MongoDB\Driver\TopologyDescription::hasWritableServer(): bool

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