Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
19
node_modules/mysql2/lib/promise/pool_connection.js
generated
vendored
Normal file
19
node_modules/mysql2/lib/promise/pool_connection.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
'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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue