Versions in this module Expand all Collapse all v1 v1.0.1 Jun 16, 2021 v1.0.0 Jun 11, 2021 Changes in this version + type Field struct + Comment string + DataBaseType string + DataType string + Name stringx.String + OrdinalPosition int + SeqInIndex int + type KeyType int + type Primary struct + AutoIncrement bool + type Table struct + Fields []*Field + Name stringx.String + NormalIndex map[string][]*Field + PrimaryKey Primary + UniqueIndex map[string][]*Field + func ConvertDataType(table *model.Table) (*Table, error) + func Parse(ddl string) (*Table, error) + func (t *Table) ContainsTime() bool