package
5.2.0-alpha+incompatible
Repository: https://github.com/pingcap/parser.git
Documentation: pkg.go.dev

# 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.
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

ErrInvalidDefault is returned when meet a invalid default value.
TiDBStrictIntegerDisplayWidth represent whether return warnings when integerType with (length) was parsed.

# Structs

FieldType records field type information.

# Type aliases

EvalType indicates the specified types that arguments and result of a built-in function should be.