downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Mongo::pairPersistConnect> <Mongo::lastError
Last updated: Fri, 13 Nov 2009

view this page in

Mongo::pairConnect

(PECL mongo >=0.9.0)

Mongo::pairConnectペアのデータベースサーバに接続する

説明

public boolean Mongo::pairConnect ( void )

ペアの接続を作成するには、$this->server を "server1,server2" 形式の文字列にしなければなりません。

パラメータ

この関数にはパラメータはありません。

返り値

接続に成功したかどうかを返します。

エラー / 例外

データベースへの接続に失敗した場合に MongoConnectionException をスローします。



add a note add a note User Contributed Notes
Mongo::pairConnect
There are no user contributed notes for this page.

Mongo::pairPersistConnect> <Mongo::lastError
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites