Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [MongoClient

Protect Your Website Today


PHP Manual || MongoClient

(PECL mongo >=1.3.0)

MongoClient::connectConnects to a database server

Description

public MongoClient::connect ( void ) : bool

Parameters

This function has no parameters.

Return Values

If the connection was successful.

Errors/Exceptions

Throws MongoConnectionException if it fails to connect to the database.



PHP Manual || MongoClient