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.
12 lines
328 B
12 lines
328 B
'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;
|
|
|