package
0.15.10
Repository: https://github.com/estuary/vitess.git
Documentation: pkg.go.dev

# Functions

CellLength returns the new position after the field with the given type is read.
CellValue returns the data for a cell as a sqltypes.Value, and how many bytes it takes.
ParseBinaryJSON provides the parsing function from the mysql binary json representation to a JSON value instance.

# Constants

TypeBit is MYSQL_TYPE_BIT.
TypeBlob is MYSQL_TYPE_BLOB.
TypeDate is MYSQL_TYPE_DATE.
TypeDateTime is MYSQL_TYPE_DATETIME.
TypeDateTime2 is MYSQL_TYPE_DATETIME2.
TypeDecimal is MYSQL_TYPE_DECIMAL.
TypeDouble is MYSQL_TYPE_DOUBLE.
TypeEnum is MYSQL_TYPE_ENUM.
TypeFloat is MYSQL_TYPE_FLOAT.
TypeGeometry is MYSQL_TYPE_GEOMETRY.
TypeInt24 is MYSQL_TYPE_INT24.
TypeJSON is MYSQL_TYPE_JSON.
TypeLong is MYSQL_TYPE_LONG.
TypeLongBlob is MYSQL_TYPE_LONG_BLOB.
TypeLongLong is MYSQL_TYPE_LONGLONG.
TypeMediumBlob is MYSQL_TYPE_MEDIUM_BLOB.
TypeNewDate is MYSQL_TYPE_NEWDATE.
TypeNewDecimal is MYSQL_TYPE_NEWDECIMAL.
TypeNull is MYSQL_TYPE_NULL.
TypeSet is MYSQL_TYPE_SET.
TypeShort is MYSQL_TYPE_SHORT.
TypeString is MYSQL_TYPE_STRING.
TypeTime is MYSQL_TYPE_TIME.
TypeTime2 is MYSQL_TYPE_TIME2.
TypeTimestamp is MYSQL_TYPE_TIMESTAMP.
TypeTimestamp2 is MYSQL_TYPE_TIMESTAMP2.
TypeTiny is MYSQL_TYPE_TINY.
TypeTinyBlob is MYSQL_TYPE_TINY_BLOB.
TypeVarchar is MYSQL_TYPE_VARCHAR.
TypeVarString is MYSQL_TYPE_VAR_STRING.
TypeYear is MYSQL_TYPE_YEAR.

# Variables

ZeroTimestamp is the special value 0 for a timestamp.