Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPacakgeName = "default_package"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct { OrdinalPosition int `db:"ordinal_position"` Name string `db:"column_name"` DataType string `db:"data_type"` DefaultValue sql.NullString `db:"column_default"` IsNullable string `db:"is_nullable"` CharacterMaximumLength sql.NullInt64 `db:"character_maximum_length"` NumericPrecision sql.NullInt64 `db:"numeric_precision"` ColumnKey string `db:"column_key"` // mysql specific Extra string `db:"extra"` // mysql specific ConstraintName sql.NullString `db:"constraint_name"` // pg specific ConstraintType sql.NullString `db:"constraint_type"` // pg specific }
Column stores information about a column
Click to show internal directories.
Click to hide internal directories.