Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adaptor ¶
type Adaptor interface {
Scan() (DbMetaInfo, error)
}
func New ¶
func New(config AdaptorConfig) (Adaptor, error)
type AdaptorConfig ¶
type AdaptorConfig struct {
Type, Username, Password, Host string
}
type DbMetaInfo ¶
type DbMetaInfo struct {
Schemas []Schema
}
type Mysql ¶
func NewMysqlClient ¶
func (Mysql) GetSchemaDetails ¶
func (Mysql) GetTableDetails ¶
func (Mysql) GetTableNamesFromDB ¶
func (Mysql) Scan ¶
func (my Mysql) Scan() (DbMetaInfo, error)
type Postgres ¶
func NewPostgresClient ¶
BUG: solve Postgres client connection string error
func (Postgres) GetSchemaDetails ¶
func (Postgres) GetTableDetails ¶
func (Postgres) GetTableNamesFromDB ¶
func (Postgres) Scan ¶
func (pg Postgres) Scan() (DbMetaInfo, error)
Click to show internal directories.
Click to hide internal directories.