function beginTransaction(cb) {
  _pool.getConnection(function(err,connection) {
    if(err) throw err;
    _connection = connection;
    _connection.beginTransaction(cb);
  });
}
/**
 * Begins a database transaction
 *
 * @param {function} cb - The callback
 */
Begins a database transaction
@param {function} cb - The callback
Begins a database transaction @param { function } cb - The callback
function beginTransaction(cb) {
  _pool.getConnection(function(err,connection) {
    if(err) throw err;
    _connection = connection;
    _connection.beginTransaction(cb);
  });
}
function beginTransaction ( cb ) { _pool . getConnection ( function ( err , connection ) { if ( err ) throw err ; _connection = connection ; _connection . beginTransaction ( cb ) ; } ) ; }
Begins a database transaction
 @param {function} cb - The callback
Begins a database transaction @param { function } cb - The callback