# Functions
HasCharset indicates if a COLUMN has an associated charset.
IsTypeBlob returns a boolean indicating whether the tp is a blob type.
IsTypeChar returns a boolean indicating whether the tp is the char type like a string type or a varchar type.
NewFieldType returns a FieldType, with a type and other information about field type.
StrToType convert a string to type enum.
TypeStr converts tp to a string.
TypeToStr converts a field to a string.
# Constants
ETDatetime represents type DATETIME in evaluation.
ETDecimal represents type DECIMAL in evaluation.
ETDuration represents type DURATION in evaluation.
ETInt represents type INT in evaluation.
ETJson represents type JSON in evaluation.
ETReal represents type REAL in evaluation.
ETString represents type STRING in evaluation.
ETTimestamp represents type TIMESTAMP in evaluation.
UnspecifiedLength is unspecified length.
VarStorageLen indicates this column is a variable length column.
# Variables
ErrDataOutOfRange is returned when meet a value out of range.
ErrIllegalValueForType is returned when strconv.ParseFloat meet strconv.ErrRange during parsing.
ErrInvalidDefault is returned when meet a invalid default value.
ErrTruncatedWrongValue is returned when meet a value bigger than 99999999999999999999999999999999999999999999999999999999999999999 during parsing.
TiDBStrictIntegerDisplayWidth represent whether return warnings when integerType with (length) was parsed.
# Type aliases
EvalType indicates the specified types that arguments and result of a built-in function should be.