安装包

This commit is contained in:
mmc
2025-09-15 10:18:19 +08:00
parent 87a4a76f1b
commit c71c3ab417
227 changed files with 36910 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
'use strict';
class PreparedStatementHeader {
constructor(packet) {
packet.skip(1); // should be 0
this.id = packet.readInt32();
this.fieldCount = packet.readInt16();
this.parameterCount = packet.readInt16();
packet.skip(1); // should be 0
this.warningCount = packet.readInt16();
}
}
// TODO: toPacket
module.exports = PreparedStatementHeader;