13 lines
328 B
JavaScript
Raw Permalink Normal View History

2025-10-22 14:08:03 +08:00
'use strict';
const BasePoolConnection = require('./base/pool_connection.js');
class PoolConnection extends BasePoolConnection {
promise(promiseImpl) {
const PromisePoolConnection = require('./promise/pool_connection.js');
return new PromisePoolConnection(this, promiseImpl);
}
}
module.exports = PoolConnection;