package
1.3.7
Repository: https://github.com/unionj-cloud/go-doudou.git
Documentation: pkg.go.dev

# Functions

AddColumn add a column by Column.
ChangeColumn change a column definition by Column.
CheckAutoincrement check a column is auto increment or not.
CheckAutoSet check a column is auto generated by database or not.
CheckNull check a column is nullable or not.
CheckPk check key is primary key or not.
CheckUnsigned check a column is unsigned or not.
CreateTable create table from Table.
NewFieldFromColumn creates an astutils.FieldMeta instance from col.
No description provided by the author
NewTableFromStruct creates a Table instance from structMeta.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Column define a column.
DbAction from information_schema.REFERENTIAL_CONSTRAINTS.
DbColumn defines a column.
DbForeignKey from INFORMATION_SCHEMA.KEY_COLUMN_USAGE.
DbIndex defines an index refer to https://www.mysqltutorial.org/mysql-index/mysql-show-indexes/.
No description provided by the author
Index define an index.
IndexItem define an index item.
Table defines a table.

# Type aliases

IndexItems slice type alias for IndexItem.