Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { NameOriginal string Name stringx.String ThirdPkg string DataType string Comment string SeqInIndex int OrdinalPosition int ContainsPQ bool }
Field describes a table field
type Table ¶
type Table struct { Name stringx.String Db stringx.String PrimaryKey Primary UniqueIndex map[string][]*Field Fields []*Field ContainsPQ bool }
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.