service

package
v1.0.1-rel-01 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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataFactroy

type MetadataFactroy struct {
	*factrydb.FacatroyDb

	iface.IFactroyDb
	// contains filtered or unexported fields
}

func Default

func Default() *MetadataFactroy

func FindMetadataFactroy

func FindMetadataFactroy(dto *baseconfig.DbClientDto) *MetadataFactroy

func NewMetaFactroy

func NewMetaFactroy() *MetadataFactroy

func NewMetadataFactroy

func NewMetadataFactroy(dto *baseconfig.DbClientDto) *MetadataFactroy

func (*MetadataFactroy) CacheKey

func (this *MetadataFactroy) CacheKey() string

func (*MetadataFactroy) CreateDbTableStru

func (self *MetadataFactroy) CreateDbTableStru(meta *dbpkgdto.MetaTableDto) reflect.Value

func (*MetadataFactroy) CreateTableRecord

func (self *MetadataFactroy) CreateTableRecord(table string) (any, error)

func (*MetadataFactroy) CreateTableStru

func (self *MetadataFactroy) CreateTableStru(TableName string) (reflect.Value, error)

func (*MetadataFactroy) FindEsType

func (this *MetadataFactroy) FindEsType(fieldType string) string

func (*MetadataFactroy) FindFields

func (this *MetadataFactroy) FindFields(table string, fieldsName string) *dbpkgdto.MetaTableDto

func (*MetadataFactroy) FindGoType

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

func (*MetadataFactroy) FindIFactroyDb

func (this *MetadataFactroy) FindIFactroyDb() iface.IFactroyDb

func (*MetadataFactroy) FindMetaPkey

func (this *MetadataFactroy) FindMetaPkey(tableName string) *dbpkgdto.MetaPkInfo

find by gocache

func (*MetadataFactroy) FindMetaTable

func (this *MetadataFactroy) FindMetaTable(tableName string) *dbpkgdto.MetaTableDto

find by gocache

func (*MetadataFactroy) FindPgPkey

func (this *MetadataFactroy) FindPgPkey(table string) []dbpkgdto.MetaPkInfo

dbcontent type->go type

func (*MetadataFactroy) FindPkName

func (self *MetadataFactroy) FindPkName() string

func (*MetadataFactroy) FindProtoType

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

func (*MetadataFactroy) FindTableComment

func (this *MetadataFactroy) FindTableComment()

func (*MetadataFactroy) FindTables

func (this *MetadataFactroy) FindTables() []dbpkgdto.MetaTableDto

func (*MetadataFactroy) IfExistField

func (self *MetadataFactroy) IfExistField(FieldsName, field string) bool

func (*MetadataFactroy) Init

func (this *MetadataFactroy) Init() *MetadataFactroy

Jump to

Keyboard shortcuts

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