Mongo
PHP Manual

Mongo::pairConnect

(PECL mongo >=0.9.0)

Mongo::pairConnectConnects to paired database server [deprecated]

Açıklama

public boolean Mongo::pairConnect ( void )

Pass a string of the form "mongodb://server1,server2" to the constructor instead of using this method.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

If the connection was successful.

Hatalar/İstisnalar

Throws MongoConnectionException if it fails to connect to the databases.


Mongo
PHP Manual