table

package
v0.0.0-...-c47cd45 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MulanPSL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectTableFactroy

func InjectTableFactroy(s *TableFactroy)

func LoadTableFactroy

func LoadTableFactroy() baseiface.ISingleton

Types

type TableFactroy

type TableFactroy struct {
	basedto.BaseEntity

	*dto.TableDto
	*dto.TableDtos

	ModelFactors *dto.TableModelFactors
	DbTemplate   *template.DbTemplate

	*webfile.FileFactroy
	TestFileFactroy *testfile.TestFileFactroy

	ZipFileName string
	// contains filtered or unexported fields
}

@Title 文件名称: table_factroy.go @Description 描述: 代码工厂基础数据库工厂

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

func FindBeanTableFactroy

func FindBeanTableFactroy() *TableFactroy

func NewTableFactroy

func NewTableFactroy() *TableFactroy

func (*TableFactroy) BuildInfo

func (this *TableFactroy) BuildInfo(gendir string)

func (*TableFactroy) BuildInfoTest

func (this *TableFactroy) BuildInfoTest(gendir string)

func (*TableFactroy) BuildModel

func (this *TableFactroy) BuildModel() *dto.TableModelFactors

func (*TableFactroy) CheckTableExist

func (this *TableFactroy) CheckTableExist() bool

func (*TableFactroy) FindGoType

func (this *TableFactroy) FindGoType(fieldType string) string

func (*TableFactroy) FindMetadata

func (this *TableFactroy) FindMetadata() *meta.MetaTable

func (*TableFactroy) FindMetadataTables

func (this *TableFactroy) FindMetadataTables() []meta.MetaTable

func (*TableFactroy) FindPgPkey

func (this *TableFactroy) FindPgPkey(table string) []meta.MetaPkinfo

func (*TableFactroy) FindProtoType

func (this *TableFactroy) FindProtoType(fieldType string) string

func (*TableFactroy) FindTableComment

func (this *TableFactroy) FindTableComment()

func (*TableFactroy) FindTableNames

func (this *TableFactroy) FindTableNames() []string

func (*TableFactroy) FindTables

func (this *TableFactroy) FindTables() []*dto.TableDto

func (*TableFactroy) GetPkInfo

func (this *TableFactroy) GetPkInfo() *meta.MetaPkinfo

func (*TableFactroy) IniDb

func (this *TableFactroy) IniDb(dbtype string)

func (*TableFactroy) IsMysql

func (this *TableFactroy) IsMysql() bool

func (*TableFactroy) MakeModelProto

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

func (*TableFactroy) MakeModelProtoBody

func (this *TableFactroy) MakeModelProtoBody(columns *[]meta.MetaColumn) *list.List

func (*TableFactroy) Parse

func (b *TableFactroy) Parse() string

func (*TableFactroy) SendEmail

func (this *TableFactroy) SendEmail(subj, msg string)

Jump to

Keyboard shortcuts

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