mysql

package
v1.19.47 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlClient

type MysqlClient struct {
	// contains filtered or unexported fields
}

func (*MysqlClient) Check

func (m *MysqlClient) Check() error

func (*MysqlClient) Close

func (m *MysqlClient) Close()

func (*MysqlClient) GetConnection

func (m *MysqlClient) GetConnection(dbName ...string) (*gorm.DB, error)

func (*MysqlClient) Init

func (m *MysqlClient) Init(mysqlConfigUrl string)

func (*MysqlClient) IsMultiDB added in v1.1.23

func (m *MysqlClient) IsMultiDB() bool

func (*MysqlClient) ListConnNames added in v1.1.23

func (m *MysqlClient) ListConnNames() []string

Jump to

Keyboard shortcuts

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