{"size": 332, "ext": "js", "max_stars_repo_path": "node_modules/sql-crud/index.js", "max_stars_repo_name": "cesarodriguez4/apidelivery", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/sql-crud/index.js", "max_issues_repo_name": "cesarodriguez4/apidelivery", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/sql-crud/index.js", "max_forks_repo_name": "cesarodriguez4/apidelivery", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.4736842105, "max_line_length": 49, "alphanum_fraction": 0.5512048193}
const mysql = require('./mysql');

module.exports = function (obj) {
	var res;
	if (typeof obj === 'object') {
		if (obj.mode == 'mysql') {
			return res = mysql;
		} 
	} else if (typeof obj === 'string') {
		if (obj === 'mysql') {
			return res = mysql;
		}
	} 
	if (!res) {
		console.log(new Error("No database selected"));
	}
}

