Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Name stringx.String DataBaseType string DataType string Comment string SeqInIndex int OrdinalPosition int ForeignKey string References string }
Field describes a table field
type Table ¶
type Table struct { Name stringx.String Comment stringx.String PrimaryKey Primary UniqueIndex map[string][]*Field NormalIndex map[string][]*Field Fields []*Field MultiModelCfg model.MultiModelCfg }
Table describes a mysql table
func ConvertDataType ¶
ConvertDataType converts mysql data type into golang data type
func (*Table) ContainsTime ¶
ContainsTime returns true if contains golang type time.Time
Click to show internal directories.
Click to hide internal directories.