You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
436 B

'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;