Documentation ¶
Index ¶
- type ColumnInfo
- type Config
- type DB
- func (db *DB) Close() error
- func (db *DB) Exec(query string) (sql.Result, error)
- func (db *DB) ExplainWithAnalyze(query string) (string, error)
- func (db *DB) GetIndexes(database string, tables []string) ([]*IndexInfo, error)
- func (db *DB) GetTableColumns(dbName string, tables []string) ([]*ColumnInfo, error)
- type IndexInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnInfo ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewConfigFromEnv ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func OpenMySQLDB ¶
func (*DB) GetIndexes ¶
func (*DB) GetTableColumns ¶
func (db *DB) GetTableColumns(dbName string, tables []string) ([]*ColumnInfo, error)
Click to show internal directories.
Click to hide internal directories.