Versions in this module Expand all Collapse all v1 v1.0.8 Jul 16, 2021 v1.0.7 Jul 16, 2021 v1.0.6 Jul 16, 2021 v1.0.5 Jul 16, 2021 v1.0.4 Jul 16, 2021 v1.0.3 Jul 16, 2021 v1.0.2 Jul 16, 2021 v1.0.1 Jul 16, 2021 v1.0.0 Jul 16, 2021 Changes in this version + const UnspecifiedLength + const VarStorageLen + var ErrInvalidDefault = terror.ClassTypes.New(codeInvalidDefault, "Invalid default value for '%s'") + func IsTypeBlob(tp byte) bool + func IsTypeChar(tp byte) bool + func TypeStr(tp byte) (r string) + func TypeToStr(tp byte, cs string) (r string) + type EvalType byte + const ETDatetime + const ETDecimal + const ETDuration + const ETInt + const ETJson + const ETReal + const ETString + const ETTimestamp + func (et EvalType) IsStringKind() bool + type FieldType struct + Charset string + Collate string + Decimal int + Elems []string + Flag uint + Flen int + Tp byte + func NewFieldType(tp byte) *FieldType + func (ft *FieldType) Clone() *FieldType + func (ft *FieldType) CompactStr() string + func (ft *FieldType) Equal(other *FieldType) bool + func (ft *FieldType) EvalType() EvalType + func (ft *FieldType) FormatAsCastType(w io.Writer) + func (ft *FieldType) Hybrid() bool + func (ft *FieldType) InfoSchemaStr() string + func (ft *FieldType) Init(tp byte) + func (ft *FieldType) Restore(ctx *format.RestoreCtx) error + func (ft *FieldType) StorageLength() int + func (ft *FieldType) String() string