cockdb

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

View Source
const Postgres_findTable = `` /* 180-byte string literal not displayed */
View Source
const Sql_postgres = `` /* 360-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type FactroyCockroach

type FactroyCockroach 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 NewFactroyCockRoarch

func NewFactroyCockRoarch() *FactroyCockroach

func (*FactroyCockroach) BuildModel

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

func (*FactroyCockroach) FindCols

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

func (*FactroyCockroach) FindColumns

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

func (*FactroyCockroach) FindFields

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

func (*FactroyCockroach) FindMetadata

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

func (*FactroyCockroach) FindPgPkey

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

func (*FactroyCockroach) FindTableComment

func (this *FactroyCockroach) FindTableComment()

func (*FactroyCockroach) FindTables

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

func (*FactroyCockroach) IniDb

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

func (*FactroyCockroach) MakeModelProto

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

func (*FactroyCockroach) MakeModelProtoBody

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

func (*FactroyCockroach) String

func (this *FactroyCockroach) String() string

func (*FactroyCockroach) ToString

func (this *FactroyCockroach) ToString() string

Jump to

Keyboard shortcuts

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