- Introduced sqlstring module for SQL escape and formatting. - Added supports-color module to detect terminal color support. - Created dashboard and login views with Bootstrap styling. - Implemented user schema in SQL with mock data for testing.
20 lines
436 B
JavaScript
20 lines
436 B
JavaScript
'use strict';
|
|
|
|
const PromiseConnection = require('./connection.js');
|
|
const BasePoolConnection = require('../base/pool_connection.js');
|
|
|
|
class PromisePoolConnection extends PromiseConnection {
|
|
constructor(connection, promiseImpl) {
|
|
super(connection, promiseImpl);
|
|
}
|
|
|
|
destroy() {
|
|
return BasePoolConnection.prototype.destroy.apply(
|
|
this.connection,
|
|
arguments
|
|
);
|
|
}
|
|
}
|
|
|
|
module.exports = PromisePoolConnection;
|