Files
micro-service/node_modules/mysql2/lib/promise/pool_connection.js
how2ice 44cca8f122 init
2025-08-14 23:34:11 +09:00

20 lines
436 B
JavaScript
Executable File

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