Files
login-page/backend/node_modules/mysql2/lib/commands/close_statement.js
theis.gaedigk 63d120cc4e feat: add sqlstring and supports-color modules
- Introduced sqlstring module for SQL escape and formatting.
- Added supports-color module to detect terminal color support.
- Created dashboard and login views with Bootstrap styling.
- Implemented user schema in SQL with mock data for testing.
2025-06-20 22:57:32 +02:00

19 lines
361 B
JavaScript

'use strict';
const Command = require('./command');
const Packets = require('../packets/index.js');
class CloseStatement extends Command {
constructor(id) {
super();
this.id = id;
}
start(packet, connection) {
connection.writePacket(new Packets.CloseStatement(this.id).toPacket(1));
return null;
}
}
module.exports = CloseStatement;