|
MongoClient::connectConnects to a database server
Description
public bool MongoClient::connect
( void
)
ParametersThis function has no parameters. Return ValuesIf the connection was successful. Errors/ExceptionsThrows MongoConnectionException if it fails to connect to the database. |