MySQLPacketCommStmtClose class

Represents the COM_STMT_CLOSE command in the MySQL protocol.

This command is used to close a prepared statement and release associated resources on the server. The packet contains:

  • A command byte (value 0x19).
  • The statement ID (stmtID) (4 bytes, little-endian).
Inheritance

Constructors

MySQLPacketCommStmtClose.new({required int stmtID})
Class constructor.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stmtID int
ID of the statement to be closed.
final

Methods

encode() Uint8List
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited