gtbox_orm_mysql

package
v0.1.103 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GTORMMysql

type GTORMMysql struct {
	MysqlDB    *gorm.DB
	MysqlError error
	// contains filtered or unexported fields
}

func Instance

func Instance() *GTORMMysql

func (*GTORMMysql) InsertData

func (aMysql *GTORMMysql) InsertData(dataModel interface{}) error

InsertData 单例

func (*GTORMMysql) OPenMysql

func (aMysql *GTORMMysql) OPenMysql(dbUser string, dbPwd string, dbName string, dbAddress string, dbPort int, timeZone gtbox_orm_config.GTORMTimeZone, endFunc func(err error))

Jump to

Keyboard shortcuts

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