connect()

Method that returns a new database connection object

Related Object: db.

connect(url, user, password)

Returns a new database connection object after connecting to the 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 the authentication.

password

String that represents the password for the authentication.

Examples

 
  • Last Topic Update: 24/01/2017 09:32
  • Last Published: 7/6/2017 : 9:48 AM