Mongo::lastError
Mongo::pairPersistConnect
Mongo
PHP Manual

# Mongo::pairConnect

(PECL mongo >=0.9.0)

Mongo::pairConnect — Connects to paired database server

### Descrição

public boolean Mongo::pairConnect ( void )

To successfully create a paired connection, $this->server must be a string of the form "server1,server2".

### Parâmetros

Esta função não contém parâmetros.

### Valor Retornado

If the connection was successful.

### Erros

Throws MongoConnectionException if it fails to connect to the databases.

Mongo::lastError
Mongo::pairPersistConnect
Mongo
PHP Manual