Skip to main content
Glama
prepared_statement_header.js375 B
'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;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michael7736/mysql-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server