MongoDB\Driver\TopologyDescription::hasWritableServer

Returns whether the topology has a writable server

説明

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

Returns whether the topology has a writable server.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns whether the topology has a writable server.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.