Documentation ¶
Overview ¶
Package query provides functions to decode MySQL command phase packets.
Index ¶
- func DecodeQuery(_ context.Context, data []byte) (*mysql.QueryPacket, error)
- func DecodeResultSetMetadata(ctx context.Context, logger *zap.Logger, data []byte, rowType RowType) (interface{}, error)
- func EncodeBinaryResultSet(ctx context.Context, logger *zap.Logger, ...) ([]byte, error)
- func EncodeTextResultSet(ctx context.Context, logger *zap.Logger, resultSet *mysql.TextResultSet) ([]byte, error)
- type RowType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeQuery ¶
func DecodeResultSetMetadata ¶
func EncodeBinaryResultSet ¶
func EncodeTextResultSet ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package preparedstmt provides functionality for decoding prepared statement packets.
|
Package preparedstmt provides functionality for decoding prepared statement packets. |
Package rowscols provides encoding and decoding of MySQL row & column packets.
|
Package rowscols provides encoding and decoding of MySQL row & column packets. |
Package utility provides encoding and decoding of utility command packets.
|
Package utility provides encoding and decoding of utility command packets. |
Click to show internal directories.
Click to hide internal directories.