array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'mongodb-driver-topologydescription.haswritableserver.php', 1 => 'MongoDB\\Driver\\TopologyDescription::hasWritableServer', ), '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', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.13.0)
MongoDB\Driver\TopologyDescription::hasWritableServer — Returns whether the topology has a writable server
Returns whether the topology has a writable server.
Esta función no tiene parámetros.
Returns whether the topology has a writable server.