Versions in this module Expand all Collapse all v1 v1.0.4 Aug 10, 2022 Changes in this version + type ColumnMeta struct + CharOctetLength int32 + ColumnDef string + ColumnName string + ColumnSize int32 + DataType int32 + DataTypeName string + DecimalDigits int32 + IsAutoIncrement string + IsNullable string + Nullable int32 + NumPrecRadix int32 + OrdinalPosition int32 + Remarks string + SqlDataType int32 + SqlDatetimeSub int32 + TableCat string + TableName string + TableSchemeName string + type Field struct + KeyType KeyType + Name string + Type int32 + Value interface{} + type IndexMeta struct + AscOrDesc string + Cardinality int32 + ColumnName string + IndexName string + IndexQualifier string + IndexType IndexType + NonUnique bool + OrdinalPosition int32 + Type int16 + Values []ColumnMeta + type IndexType byte + const IndexType_FULL_TEXT + const IndexType_NORMAL + const IndexType_PRIMARY + const IndexType_UNIQUE + type KeyType byte + const NULL + const PRIMARY_KEY + type Row struct + Fields []*Field + func (row *Row) NonPrimaryKeys() []*Field + func (row *Row) PrimaryKeys() []*Field + type TableMeta struct + AllColumns map[string]ColumnMeta + AllIndexes map[string]IndexMeta + Columns []string + TableName string + func (meta TableMeta) GetPKName() string + func (meta TableMeta) GetPrimaryKeyMap() map[string]ColumnMeta + func (meta TableMeta) GetPrimaryKeyOnlyName() []string + type TableRecords struct + Rows []*Row + TableMeta TableMeta + TableName string + func NewTableRecords(meta TableMeta) *TableRecords + func (records *TableRecords) PKFields() []*Field