Results of 1 - 7 of about 7 for getServers (0.002 sec.)
- MongoDB\Driver\Manager::getServers — Return the servers to which this manager i... 12595
- MongoDB\Driver\Manager::getServers (mongodb >=1.0.0) MongoDB\Driver\Manager::getServers — Return the servers to which this manager is connected 説明 final public function MongoDB\Driver\Manager::getServers (): array Returns an array of Mong
... / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\Manager::getServers() example <?php $manager = new MongoDB\Driver\Manager ( "mongodb://localhost:27017" ); /* The driver connects to the datab ... ase server lazily, so Manager::getServers() * may initially return an empty array. */ var_dump ( $manager -> getServers ()); $command = new MongoDB\Driver\Command ( ... [ 'ping' => 1 ]); $manager -> executeCommand ( 'db' , $command ); var_dump ( $manager -> getServers ()); ?> 上の例の出力は、 たとえば以下のようになります。 array(0) { } array(1) { [0]=> object(MongoDB\Driver\Server)#3 (10) ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.getservers.html
- MongoDB\Driver\TopologyDescription::getServers — Returns the servers in the top... 10560
- MongoDB\Driver\TopologyDescription::getServers (mongodb >=1.13.0) MongoDB\Driver\TopologyDescription::getServers — Returns the servers in the topology 説明 final public function MongoDB\Driver\TopologyDescription::getServers (): array Retur
...
-
https://man.mtool.work/php/8.3/mongodb-driver-topologydescription.getservers.htm...
- MongoDB\Driver\Server::__construct — Create a new Server (not used) | PHP 8.3 9069
- MongoDB\Driver\Server::__construct (mongodb >=1.0.0) MongoDB\Driver\Server::__construct — Create a new Server (not used) 説明 final private function MongoDB\Driver\Server::__construct () MongoDB\Driver\Server objects are created internally
... by MongoDB\Driver\Manager when a database connection is established and may be returned by MongoDB\Driver\Manager::getServers() and MongoDB\Driver\Manager::selectServer() . パラメータ この関数にはパラメータはありません。 参考 MongoDB\Driver\Manager ... ::getServers() - Return the servers to which this manager is connected MongoDB\Driver\Manager::selectServer() - Select a server matchin ...
-
https://man.mtool.work/php/8.3/mongodb-driver-server.construct.html
- MongoDB\Driver\Manager::selectServer — Select a server matching a read preferen... 8542
- MongoDB\Driver\Manager::selectServer (mongodb >=1.0.0) MongoDB\Driver\Manager::selectServer — Select a server matching a read preference 説明 final public function MongoDB\Driver\Manager::selectServer ( ? MongoDB\Driver\ReadPreference $read
... eselect a server in order to perform version checking before executing an operation. 注意 : Unlike MongoDB\Driver\Manager::getServers() , this method will initialize database connections and perform server discovery if necessary. See the » Server Selection ... al. If null or omitted, the primary server will be selected by default. 参考 MongoDB\Driver\Server MongoDB\Driver\Manager::getServers() - Return the servers to which this manager is connected » Server Selection Specification 他のマニュアルの関連ページ Duck ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.selectserver.html
- The MongoDB\Driver\TopologyDescription class | PHP 8.3 8360
- The MongoDB\Driver\TopologyDescription class (mongodb >=1.13.0) はじめに The MongoDB\Driver\TopologyDescription class is a value object that represents a topology to which the driver is connected. Instances of this class are returned by Mon
... RIMARY = "ReplicaSetWithPrimary" ; const string TYPE_LOAD_BALANCED = "LoadBalanced" ; /* メソッド */ final public function getServers (): array final public function getType (): string final public function hasReadableServer ( ? MongoDB\Driver\ReadPreferen ... ad balanced topology, returned by MongoDB\Driver\TopologyDescription::getType() . 目次 MongoDB\Driver\TopologyDescription::getServers — Returns the servers in the topology MongoDB\Driver\TopologyDescription::getType — Returns a string denoting the type of ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-topologydescription.html
- The MongoDB\Driver\Manager class | PHP 8.3 7833
- The MongoDB\Driver\Manager class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Manager is the main entry point to the extension. It is responsible for maintaining connections to MongoDB (be it standalone server, replica set, or sharded clus
... MongoDB\Driver\ReadConcern final public function getReadPreference (): MongoDB\Driver\ReadPreference final public function getServers (): array final public function getWriteConcern (): MongoDB\Driver\WriteConcern final public function removeSubscriber ( M ... the Manager MongoDB\Driver\Manager::getReadPreference — Return the ReadPreference for the Manager MongoDB\Driver\Manager::getServers — Return the servers to which this manager is connected MongoDB\Driver\Manager::getWriteConcern — Return the WriteConcern ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-manager.html
- サンプル | PHP 8.3 6597
- サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例
... eadConcern example Example#1482 - MongoDB\Driver\Manager::getReadPreference example Example#1483 - MongoDB\Driver\Manager::getServers example Example#1484 - MongoDB\Driver\Manager::getWriteConcern example Example#1485 - Composing MongoDB\Driver\Command to ...
-
https://man.mtool.work/php/8.3/indexes.examples.html
PREV
1
NEXT