MongoDB\Driver\TopologyDescription::getServers

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::getServers — Returns the servers in the topology

Açıklama

final public function MongoDB\Driver\TopologyDescription::getServers(): array

Returns an array of MongoDB\Driver\ServerDescription objects corresponding to the known servers in the topology.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Returns an array of MongoDB\Driver\ServerDescription objects corresponding to the known servers in the topology.

Hatalar/İstisnalar

+add a note

User Contributed Notes

There are no user contributed notes for this page.