Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MysqlDB ¶
type MysqlDB struct {
// contains filtered or unexported fields
}
func (*MysqlDB) QueryTableInfo ¶
type PostgresDB ¶
type PostgresDB struct {
// contains filtered or unexported fields
}
func (*PostgresDB) Close ¶
func (db *PostgresDB) Close() error
func (*PostgresDB) Open ¶
func (db *PostgresDB) Open(driver, info string) error
func (*PostgresDB) QueryTableInfo ¶
func (db *PostgresDB) QueryTableInfo(dbName, tableName string) ([]common.ModelInfo, error)
func (*PostgresDB) QueryTableNames ¶
func (db *PostgresDB) QueryTableNames(dbName string) ([]string, error)
type SqliteDB ¶
type SqliteDB struct {
// contains filtered or unexported fields
}
func (*SqliteDB) QueryTableInfo ¶
Click to show internal directories.
Click to hide internal directories.