function dbGetEventsList(callback) {
	mysql.query('SELECT table_name FROM `events` WHERE year="2015" AND semester="fall"', function(err, rows, cols) {

		if(err) {
			console.log('MYSQL', 'ERR', err);
			return process.exit(1);
		}

		callFunc(this, callback, [rows, cols]);

	});
}
/**
 * Perform a select query on all events in
 * `events` table
 */
Perform a select query on all events in
`events` table
Perform a select query on all events in ` events ` table
function dbGetEventsList(callback) {
	mysql.query('SELECT table_name FROM `events` WHERE year="2015" AND semester="fall"', function(err, rows, cols) {
		if(err) {
			console.log('MYSQL', 'ERR', err);
			return process.exit(1);
		}
		callFunc(this, callback, [rows, cols]);
	});
}
function dbGetEventsList ( callback ) { mysql . query ( 'SELECT table_name FROM `events` WHERE year="2015" AND semester="fall"' , function ( err , rows , cols ) { if ( err ) { console . log ( 'MYSQL' , 'ERR' , err ) ; return process . exit ( 1 ) ; } callFunc ( this , callback , [ rows , cols ] ) ; } ) ; }
Perform a select query on all events in
 `events` table
Perform a select query on all events in ` events ` table