src/DatabaseConnection.js
/**
 * *NOTE:* Outside callers should use `DatabaseConnection.getConnection()`
 * to retrieve a connection instead of this constructor.
 *
 * Creates a new connection object with the given configuration.
 *
 * @class
 * @classdesc `DatabaseConnection` objects are configured to connect
 *    to a particular databse, and provide the ability to run
 *    queries on that database.
 *
 * @param {String} name
 * @param {DatabaseConnection~ConnectionConfig} config
 */
*NOTE:* Outside callers should use `DatabaseConnection.getConnection()`
to retrieve a connection instead of this constructor.

Creates a new connection object with the given configuration.

@class
@classdesc `DatabaseConnection` objects are configured to connect
to a particular databse, and provide the ability to run
queries on that database.


* NOTE : * Outside callers should use ` DatabaseConnection . getConnection () ` to retrieve a connection instead of this constructor . Creates a new connection object with the given configuration . @class @classdesc ` DatabaseConnection ` objects are configured to connect to a particular databse and provide the ability to run queries on that database .
function DatabaseConnection(name, config) {
  this.__name = name;
  this.__config = config;
  this.__pool = null;
}
function DatabaseConnection ( name , config ) { this . __name = name ; this . __config = config ; this . __pool = null ; }
*NOTE:* Outside callers should use `DatabaseConnection.getConnection()`
 to retrieve a connection instead of this constructor.
* NOTE : * Outside callers should use ` DatabaseConnection . getConnection () ` to retrieve a connection instead of this constructor .