Documentation
¶
Index ¶
- Constants
- func SQLParseCommandID(kind request.SQLKind, buf []byte) string
- func SQLParseError(kind request.SQLKind, buf []uint8) *request.SQLError
- func SQLParseOperationAndTable(query string) (string, string)
- func SQLParseOperationAndTableNEW(query string) (string, string)
- func SQLParseStatementID(kind request.SQLKind, buf []byte) uint32
Constants ¶
View Source
const ( MySQLHdrSize = 4 MySQLErrMinLen = 8 MySQLErrPacketMarker byte = 0xff MySQLStateMarker byte = '#' MySQLProgressReporting uint16 = 0xffff )
View Source
const ( PostgresHdrSize = 5 // 'E' + Int32(len) PostgresMessageTypeQuery = 'Q' PostgresMessageTypeBind = 'B' PostgresMessageTypeExecute = 'E' PostgresMessageTypeParse = 'P' )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.