Documentation
¶
Index ¶
Constants ¶
View Source
const DDLPrimaryKey = "primaryKey"
View Source
const DDLUniqueIndex = "uniqueIndex"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct {
Field string `json:"field"` // 字段名
Type string `json:"type"` // 字段类型
Kind string `json:"kind" ` // 字段类型
Comment string `json:"comment"` // 字段注释
TableName string `json:"tableName"` //
Default string //
NotNull string // not null/null
EXTRA string
Size string
PrimaryKey bool
DDLTag map[string]string
}
Click to show internal directories.
Click to hide internal directories.