mysql

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Mysql_findTable = `` /* 173-byte string literal not displayed */
View Source
const Sql_mysql = `` /* 381-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type FacatroyMysql

type FacatroyMysql struct {
	*factrydb.FacatroyDb
}

@Title 文件名称: db_factroy.go @Description 描述: 础数据库工厂

@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)

func NewFactroyMysql

func NewFactroyMysql() *FacatroyMysql

func (*FacatroyMysql) BuildModel

func (this *FacatroyMysql) BuildModel() *dto2.ModeFactors

func (*FacatroyMysql) FindCols

func (this *FacatroyMysql) FindCols() ([]dto2.MetaColDto, error)

func (*FacatroyMysql) FindColumns

func (this *FacatroyMysql) FindColumns() (*[]dto2.MetaColDto, error)

func (*FacatroyMysql) FindFields

func (this *FacatroyMysql) FindFields(table string, fields string) string

func (*FacatroyMysql) FindMetadata

func (this *FacatroyMysql) FindMetadata(table string) *dto2.MetaTableDto

func (*FacatroyMysql) FindPgPkey

func (this *FacatroyMysql) FindPgPkey(table string) []dto2.MetaPkInfo

func (*FacatroyMysql) FindTableComment

func (this *FacatroyMysql) FindTableComment()

func (*FacatroyMysql) FindTables

func (this *FacatroyMysql) FindTables() []dto2.MetaTableDto

func (*FacatroyMysql) IniDb

func (this *FacatroyMysql) IniDb(conn string) (dbinst *gorm.DB)

func (*FacatroyMysql) MakeModelProto

func (this *FacatroyMysql) MakeModelProto() *list.List

func (*FacatroyMysql) MakeModelProtoBody

func (this *FacatroyMysql) MakeModelProtoBody(columns *[]dto2.MetaColDto) *list.List

func (*FacatroyMysql) String

func (this *FacatroyMysql) String() string

func (*FacatroyMysql) ToString

func (this *FacatroyMysql) ToString() string

Jump to

Keyboard shortcuts

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