mysql2
Version:
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
20 lines (15 loc) • 436 B
JavaScript
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;
;