feat(auth): implement user authentication system
This commit is contained in:
parent
4847ab793a
commit
25cea4fbe8
12051 changed files with 1462377 additions and 0 deletions
23
backend/node_modules/mysql2/lib/promise/pool_connection.js
generated
vendored
Normal file
23
backend/node_modules/mysql2/lib/promise/pool_connection.js
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
'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
|
||||
);
|
||||
}
|
||||
|
||||
async [Symbol.asyncDispose]() {
|
||||
this.release();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PromisePoolConnection;
|
||||
Loading…
Add table
Add a link
Reference in a new issue