Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSchema ¶
Types ¶
type MysqlColumn ¶
type MysqlColumn struct {
ColumnName string
DataType string
ColumnType string
IsNullable bool
ColumnKey string
ColumnDefault *string
Extra string
}
func (MysqlColumn) GetColumnDefault ¶
func (c MysqlColumn) GetColumnDefault() *string
func (MysqlColumn) GetColumnKey ¶
func (c MysqlColumn) GetColumnKey() string
func (MysqlColumn) GetColumnType ¶
func (c MysqlColumn) GetColumnType() string
func (MysqlColumn) GetDataType ¶
func (c MysqlColumn) GetDataType() string
func (MysqlColumn) GetExtra ¶
func (c MysqlColumn) GetExtra() string
func (MysqlColumn) GetIsNullable ¶
func (c MysqlColumn) GetIsNullable() bool
func (MysqlColumn) GetName ¶
func (c MysqlColumn) GetName() string
type MysqlTable ¶
type MysqlTable struct {
TableName string
Columns []MysqlColumn
PrimaryKeys []string
EstimatedRowCount int64
}
func (MysqlTable) GetColumns ¶
func (t MysqlTable) GetColumns() []dbtypes.Column
func (MysqlTable) GetEstimatedRowCount ¶
func (t MysqlTable) GetEstimatedRowCount() int64
func (MysqlTable) GetName ¶
func (t MysqlTable) GetName() string
func (MysqlTable) GetPrimaryKeys ¶
func (t MysqlTable) GetPrimaryKeys() []string
Click to show internal directories.
Click to hide internal directories.