mysql

package
v0.1.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagMysqlDbGen

type FlagMysqlDbGen struct {
	// contains filtered or unexported fields
}

func NewMysqlDbGen

func NewMysqlDbGen(flag model.FlagModel) *FlagMysqlDbGen

NewMysqlDbGen 创建mysql生成器

func (*FlagMysqlDbGen) AllTableData

func (f *FlagMysqlDbGen) AllTableData() (model.TableMataDataList, error)

AllTableData 所有表的数据

func (*FlagMysqlDbGen) ConnectionDB

func (f *FlagMysqlDbGen) ConnectionDB() (err error)

ConnectionDB 测试连接数据库

func (*FlagMysqlDbGen) GetTableColumns

func (f *FlagMysqlDbGen) GetTableColumns(tableName string) (cols model.ColumnMetaDataList, err error)

GetTableColumns 根据表名称查询列元数据集

func (*FlagMysqlDbGen) TableDataForSelect

func (f *FlagMysqlDbGen) TableDataForSelect(flagModel model.FlagModel) (model.TableMataDataList, error)

type MysqlDBGen

type MysqlDBGen struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL