Mongo::persistConnect
(PECL mongo >=0.9.0)
Mongo::persistConnect — データベースサーバへの持続的接続を作成する
説明
public boolean Mongo::persistConnect
([ string $username = ""
[, string $password = ""
]] )
パラメータ
- username
-
接続を識別するためのユーザ名。
- password
-
接続を識別するためのパスワード。
返り値
接続に成功したかどうかを返します。
エラー / 例外
データベースへの接続に失敗した場合に MongoConnectionException をスローします。
Mongo::persistConnect
There are no user contributed notes for this page.
