connect()

Method that returns a new database connection object.

connect(url, user, password)

This method returns a new database connection object after connecting to the given URL and authenticating the connection with the provided user and password information.

url

String that represents the url to connect to.

user

String that represents the user name for authentication.

password

String that represents the password for authentication.