pool_connection.js 328 B

123456789101112
  1. 'use strict';
  2. const BasePoolConnection = require('./base/pool_connection.js');
  3. class PoolConnection extends BasePoolConnection {
  4. promise(promiseImpl) {
  5. const PromisePoolConnection = require('./promise/pool_connection.js');
  6. return new PromisePoolConnection(this, promiseImpl);
  7. }
  8. }
  9. module.exports = PoolConnection;