Versions in this module Expand all Collapse all v1 v1.2.5 Apr 2, 2022 v1.2.4 Mar 2, 2022 v1.2.3 Sep 29, 2021 v1.2.2 Nov 10, 2020 v1.2.1 Oct 12, 2020 v1.2.0 Sep 21, 2020 v1.1.0 Sep 5, 2020 v1.0.3 May 21, 2020 v1.0.2 Nov 20, 2019 v1.0.1 Jul 31, 2019 v1.0.0 May 24, 2019 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