connect method
Create a new connection to the database server. Accepts the following options: host: the host to connect to (default localhost). port: the port to connect on (default 28015). db: the default database (defaults to test). user: the user name for the db (defaults to admin). password: password for the user (default "").
Implementation
Future<Connection> connect({
String db = 'test',
String host = "localhost",
int port = 28015,
String user = "admin",
String password = "",
Map? ssl,
}) =>
Connection(db, host, port, user, password, ssl).reconnect();