Documentation ¶
Index ¶
Constants ¶
View Source
const TableColumns = "COLUMNS"
information_schema.COLUMNS
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Columns ¶
type Columns struct { // TABLE_CATALOG : NULLABLE varchar(64) TableCatalog sql.NullString // TABLE_SCHEMA : NULLABLE varchar(64) TableSchema sql.NullString // TABLE_NAME : NULLABLE varchar(64) TableName sql.NullString // COLUMN_NAME : NULLABLE varchar(64) ColumnName sql.NullString // ORDINAL_POSITION : int unsigned OrdinalPosition int // COLUMN_DEFAULT : NULLABLE text ColumnDefault sql.NullString // IS_NULLABLE : varchar(3) IsNullable string // DATA_TYPE : NULLABLE longtext DataType sql.NullString // CHARACTER_MAXIMUM_LENGTH : NULLABLE bigint CharacterMaximumLength sql.NullInt64 // CHARACTER_OCTET_LENGTH : NULLABLE bigint CharacterOctetLength sql.NullInt64 // NUMERIC_PRECISION : NULLABLE bigint unsigned NumericPrecision sql.NullInt64 // NUMERIC_SCALE : NULLABLE bigint unsigned NumericScale sql.NullInt64 // DATETIME_PRECISION : NULLABLE int unsigned DatetimePrecision sql.NullInt32 // CHARACTER_SET_NAME : NULLABLE varchar(64) CharacterSetName sql.NullString // COLLATION_NAME : NULLABLE varchar(64) CollationName sql.NullString // COLUMN_TYPE : mediumtext ColumnType string // COLUMN_KEY : enum(”,'PRI','UNI','MUL') ColumnKey string // EXTRA : NULLABLE varchar(256) Extra sql.NullString // PRIVILEGES : NULLABLE varchar(154) Privileges sql.NullString // COLUMN_COMMENT : text ColumnComment string // GENERATION_EXPRESSION : longtext GenerationExpression string }
func (*Columns) FieldMapping ¶
type SliceColumns ¶
type SliceColumns []Columns
func (*SliceColumns) Iterate ¶
func (s *SliceColumns) Iterate(f func(interface{}, bool) bool)
Click to show internal directories.
Click to hide internal directories.