postgres

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactroyPostgres

type FactroyPostgres 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 NewFactroyPostgres

func NewFactroyPostgres() *FactroyPostgres

func (*FactroyPostgres) BuildModel

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

func (*FactroyPostgres) FindCols

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

func (*FactroyPostgres) FindColumns

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

func (*FactroyPostgres) FindFields

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

func (*FactroyPostgres) FindMetadata

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

func (*FactroyPostgres) FindPgPkey

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

func (*FactroyPostgres) FindTableComment

func (this *FactroyPostgres) FindTableComment()

func (*FactroyPostgres) FindTables

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

func (*FactroyPostgres) IniDb

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

func (*FactroyPostgres) MakeModelProto

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

func (*FactroyPostgres) MakeModelProtoBody

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

func (*FactroyPostgres) String

func (this *FactroyPostgres) String() string

func (*FactroyPostgres) ToString

func (this *FactroyPostgres) ToString() string

Jump to

Keyboard shortcuts

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