MySQLPacketCommStmtClose class

Representa o comando COM_STMT_CLOSE no protocolo MySQL.

Esse comando é utilizado para fechar um prepared statement e liberar os recursos associados no servidor. O pacote contém:

  • Um byte de comando (valor 0x19).
  • O ID do statement (stmtID) (4 bytes, little-endian).
Inheritance

Constructors

MySQLPacketCommStmtClose.new({required int stmtID})
Construtor da classe.

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 do statement a ser fechado.
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