lib/archivist/vaults/mysql/index.js
function MysqlVault(name, logger) {
	var that = this;

	// required exposed properties

	this.name = name;                  // the unique vault name
	this.archive = new Archive(this);  // archivist bindings

	// internals

	this.mysql = null;                 // node-mysql library
	this.config = null;                   // the URI that connections will be established to
	this.pool = null;                  // node-mysql connection pool
	this.logger = logger;

	/* jshint camelcase:false */
	// connection is here for backward compat, please use pool from now on
	this.__defineGetter__('connection', function () {
		logger.debug('Accessing the "connection" property on the mysql vault is deprecated, please' +
			' use the "pool" property');
		return that.pool;
	});
}
function MysqlVault(name, logger) {
	var that = this;

	// required exposed properties

	this.name = name;                  // the unique vault name
	this.archive = new Archive(this);  // archivist bindings

	// internals

	this.mysql = null;                 // node-mysql library
	this.config = null;                   // the URI that connections will be established to
	this.pool = null;                  // node-mysql connection pool
	this.logger = logger;

	/* jshint camelcase:false */
	// connection is here for backward compat, please use pool from now on
	this.__defineGetter__('connection', function () {
		logger.debug('Accessing the "connection" property on the mysql vault is deprecated, please' +
			' use the "pool" property');
		return that.pool;
	});
}
function MysqlVault ( name , logger ) { var that = this ; // required exposed properties this . name = name ; // the unique vault name this . archive = new Archive ( this ) ; // archivist bindings // internals this . mysql = null ; // node-mysql library this . config = null ; // the URI that connections will be established to this . pool = null ; // node-mysql connection pool this . logger = logger ; /* jshint camelcase:false */ // connection is here for backward compat, please use pool from now on this . __defineGetter__ ( 'connection' , function ( ) { logger . debug ( 'Accessing the "connection" property on the mysql vault is deprecated, please' + ' use the "pool" property' ) ; return that . pool ; } ) ; }
Vault wrapper around node-mysql
Vault wrapper around node - mysql