Mongo::lastError
Mongo::pairPersistConnect
Mongo
PHP Manual

# Mongo::pairConnect

(PECL mongo >=0.9.0)

Mongo::pairConnect — Connects to paired database server

### 설명

public boolean Mongo::pairConnect ( void )

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

### 인수

이 함수는 인수가 없습니다.

### 반환값

If the connection was successful.

### 오류/예외

Throws MongoConnectionException if it fails to connect to the databases.

Mongo::lastError
Mongo::pairPersistConnect
Mongo
PHP Manual