For the complete documentation index, see llms.txt. This page is also available as Markdown.

3 - Binary Protocol (Prepared Statements)

Understand the binary protocol for prepared statements. This section details how prepared statements are exchanged efficiently between client and server, optimizing performance and security.

This command executes a bulk insert for a previously prepared statement, using a compact binary format for efficiency.

This command deallocates a prepared statement on the server, freeing up associated resources.

This command executes a prepared statement using parameter values provided in the binary protocol format.

This command fetches rows from an existing result set of a prepared statement that was executed with a cursor.

This command prepares an SQL statement on the server, returning a statement ID and metadata about parameters and columns.

This command resets the data of a prepared statement on the server, clearing any buffers or previous parameter values.

This command sends long data, such as BLOB or TEXT values, in chunks for a specific parameter of a prepared statement.

This section details the structure of response packets sent by the server when using the binary protocol, particularly for result sets.

Last updated

Was this helpful?