Class: IRelationalDatabaseConnection

IRelationalDatabaseConnection

Relational database connection.


new IRelationalDatabaseConnection(connectionInfo)

Creates a new relational database connection.

Parameters:
Name Type Description
connectionInfo

The connection info to utilize for the connection.

Source:

Extends

  • IDatabaseConnection

Methods


close()

Closes an open relational database and returns a Promise.

Source:
Returns:
Type
Promise

close(callback)

Closes an open relational database and utilizes the supplied callback when complete.

Parameters:
Name Type Description
callback IRelationalDatabase~closeCallback

The node.js style callback to use in conjunction with the command.

Source:

connect()

Connects to a relational database and returns a Promise.

Source:
Returns:
Type
Promise

connect(connectionInfo)

Connects to a relational database with the supplied connection info and returns a Promise.

Parameters:
Name Type Description
connectionInfo

The connection info to utilize for the connection.

Source:
Returns:
Type
Promise

connect(callback)

Connects to a relational database and utilizes the supplied callback when complete.

Parameters:
Name Type Description
callback IRelationalDatabase~connectCallback

The node.js style callback to use in conjunction with the connection.

Source:

connect(connectionInfo, callback)

Connects to a relational database with the supplied connection info and utilizes the supplied callback when complete.

Parameters:
Name Type Description
connectionInfo

The connection info to utilize for the connection.

callback IRelationalDatabase~connectCallback

The node.js style callback to use in conjunction with the connection.

Source: