Documentation ¶
Index ¶
- Constants
- type FacatroyMysql
- func (this *FacatroyMysql) BuildModel() *dto2.ModeFactors
- func (this *FacatroyMysql) FindCols() ([]dto2.MetaColDto, error)
- func (this *FacatroyMysql) FindColumns() (*[]dto2.MetaColDto, error)
- func (this *FacatroyMysql) FindFields(table string, fields string) string
- func (this *FacatroyMysql) FindMetadata(table string) *dto2.MetaTableDto
- func (this *FacatroyMysql) FindPgPkey(table string) []dto2.MetaPkInfo
- func (this *FacatroyMysql) FindTableComment()
- func (this *FacatroyMysql) FindTables() []dto2.MetaTableDto
- func (this *FacatroyMysql) IniDb(conn string) (dbinst *gorm.DB)
- func (this *FacatroyMysql) MakeModelProto() *list.List
- func (this *FacatroyMysql) MakeModelProtoBody(columns *[]dto2.MetaColDto) *list.List
- func (this *FacatroyMysql) String() string
- func (this *FacatroyMysql) ToString() string
Constants ¶
View Source
const Mysql_findTable = `` /* 173-byte string literal not displayed */
View Source
const Sql_mysql = `` /* 381-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FacatroyMysql ¶
type FacatroyMysql 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 NewFactroyMysql ¶
func NewFactroyMysql() *FacatroyMysql
func (*FacatroyMysql) BuildModel ¶
func (this *FacatroyMysql) BuildModel() *dto2.ModeFactors
func (*FacatroyMysql) FindCols ¶
func (this *FacatroyMysql) FindCols() ([]dto2.MetaColDto, error)
func (*FacatroyMysql) FindColumns ¶
func (this *FacatroyMysql) FindColumns() (*[]dto2.MetaColDto, error)
func (*FacatroyMysql) FindFields ¶
func (this *FacatroyMysql) FindFields(table string, fields string) string
func (*FacatroyMysql) FindMetadata ¶
func (this *FacatroyMysql) FindMetadata(table string) *dto2.MetaTableDto
func (*FacatroyMysql) FindPgPkey ¶
func (this *FacatroyMysql) FindPgPkey(table string) []dto2.MetaPkInfo
func (*FacatroyMysql) FindTableComment ¶
func (this *FacatroyMysql) FindTableComment()
func (*FacatroyMysql) FindTables ¶
func (this *FacatroyMysql) FindTables() []dto2.MetaTableDto
func (*FacatroyMysql) MakeModelProto ¶
func (this *FacatroyMysql) MakeModelProto() *list.List
func (*FacatroyMysql) MakeModelProtoBody ¶
func (this *FacatroyMysql) MakeModelProtoBody(columns *[]dto2.MetaColDto) *list.List
func (*FacatroyMysql) String ¶
func (this *FacatroyMysql) String() string
func (*FacatroyMysql) ToString ¶
func (this *FacatroyMysql) ToString() string
Click to show internal directories.
Click to hide internal directories.