MongoDB\Driver\TopologyDescription::hasWritableServer

(mongodb >=1.13.0)

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

説明

finalpublicMongoDB\Driver\TopologyDescription::hasWritableServer(): bool

Returns whether the topology has a writable server.

パラメータ

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

戻り値

Returns whether the topology has a writable server.

エラー / 例外

To Top