|
MongoClient::connectConnects to a database server
Beschreibung
public bool MongoClient::connect
( void
)
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteIf the connection was successful. Fehler/ExceptionsThrows MongoConnectionException if it fails to connect to the database. |