Documentation ¶
Index ¶
- type FactroyPostgres
- func (this *FactroyPostgres) BuildModel() *dto2.ModeFactors
- func (this *FactroyPostgres) FindCols() ([]dto2.MetaColDto, error)
- func (this *FactroyPostgres) FindColumns() (*[]dto2.MetaColDto, error)
- func (this *FactroyPostgres) FindFields(table string, fields string) string
- func (this *FactroyPostgres) FindMetadata(table string) *dto2.MetaTableDto
- func (this *FactroyPostgres) FindPgPkey(table string) []dto2.MetaPkInfo
- func (this *FactroyPostgres) FindTableComment()
- func (this *FactroyPostgres) FindTables() []dto2.MetaTableDto
- func (this *FactroyPostgres) IniDb(conn string) (dbinst *gorm.DB)
- func (this *FactroyPostgres) MakeModelProto() *list.List
- func (this *FactroyPostgres) MakeModelProtoBody(columns *[]dto2.MetaColDto) *list.List
- func (this *FactroyPostgres) String() string
- func (this *FactroyPostgres) ToString() string
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) 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
Click to show internal directories.
Click to hide internal directories.