Mongo::persistConnect
(PECL mongo >=0.9.0)
Mongo::persistConnect — Creates a persistent connection with a database server
Description
public boolean Mongo::persistConnect
([ string $username = ""
[, string $password = ""
]] )
Parameters
- username
-
A username used to identify the connection.
- password
-
A password used to identify the connection.
Return Values
If the connection was successful.
Errors/Exceptions
Throws MongoConnectionException if it fails to connect to the databases.
Mongo::persistConnect
There are no user contributed notes for this page.
