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

search for in the

Mongo::dropDB> <Mongo::connectUtil
Last updated: Fri, 13 Nov 2009

view this page in

Mongo::__construct

(PECL mongo >=0.9.0)

Mongo::__construct新しいデータベース接続オブジェクトを作成する

説明

Mongo::__construct ([ string $server = NULL [, boolean $connect = TRUE [, boolean $persistent = FALSE [, boolean $paired = FALSE ]]]] )

パラメータ

server

サーバ名。

connect

ドライバがデータベースに接続してから結果を返すようにするかどうか。

persistent

持続的な接続を行うかどうか。

paired

接続をペアにするかどうか。

返り値

新しいデータベース接続オブジェクトを返します。

エラー / 例外

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



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

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