1234567891011121314151617181920212223242526 |
- // ██████╗██████╗ ███████╗ █████╗ ████████╗███████╗
- // ██╔════╝██╔══██╗██╔════╝██╔══██╗╚══██╔══╝██╔════╝
- // ██║ ██████╔╝█████╗ ███████║ ██║ █████╗
- // ██║ ██╔══██╗██╔══╝ ██╔══██║ ██║ ██╔══╝
- // ╚██████╗██║ ██║███████╗██║ ██║ ██║ ███████╗
- // ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
- //
- // ███╗ ███╗ █████╗ ███╗ ██╗ █████╗ ██████╗ ███████╗██████╗
- // ████╗ ████║██╔══██╗████╗ ██║██╔══██╗██╔════╝ ██╔════╝██╔══██╗
- // ██╔████╔██║███████║██╔██╗ ██║███████║██║ ███╗█████╗ ██████╔╝
- // ██║╚██╔╝██║██╔══██║██║╚██╗██║██╔══██║██║ ██║██╔══╝ ██╔══██╗
- // ██║ ╚═╝ ██║██║ ██║██║ ╚████║██║ ██║╚██████╔╝███████╗██║ ██║
- // ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝
- //
- // Create a new connection manager to use.
- var MySQL = require('machinepack-mysql');
- module.exports = function createManager(url, config) {
- var report = MySQL.createManager({
- connectionString: url,
- meta: config
- }).execSync();
- return report;
- };
|