Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct { Id string `json:"-"` Name string `json:"name"` Type string `json:"type"` Comment string `json:"comment"` DefaultValue string `json:"default_value"` Nullable bool `json:"nullable"` AutoIncrement bool `json:"auto_increment"` Unsigned bool `json:"unsigned"` Length int `json:"length"` Precision int `json:"precision"` Scale int `json:"scale"` }
type ForeignKey ¶
type ForeignKey struct { Id string `json:"-"` Name string `json:"name"` Many bool `json:"many"` Columns []string `json:"columns"` ColumnIds []string `json:"-"` ReferenceColumns []string `json:"referenceColumns"` ReferenceColumnIds []string `json:"-"` Comment string `json:"comment"` ReferenceTable string `json:"referenceTable"` ReferenceTableId string `json:"-"` DeleteRule string `json:"deleteRule"` UpdateRule string `json:"updateRule"` }
func ParseForeignKeys ¶
Click to show internal directories.
Click to hide internal directories.