Mongo
PHP Manual

Mongo::pairPersistConnect

(PECL mongo >=0.9.0)

Mongo::pairPersistConnectCreates a persistent connection with paired database servers

Açıklama

public boolean Mongo::pairPersistConnect ([ string $username = "" [, string $password = "" ]] )

Değiştirgeler

username

A username used to identify the connection.

password

A password used to identify the connection.

Dönen Değerler

If the connection was successful.

Hatalar/İstisnalar

Throws MongoConnectionException if it fails to connect to the databases.


Mongo
PHP Manual