mysql

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2025 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(config database.Config) (database.Database, error)

Types

type MysqlDatabase

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

func (*MysqlDatabase) Close

func (d *MysqlDatabase) Close() error

func (*MysqlDatabase) DB

func (d *MysqlDatabase) DB() *sql.DB

func (*MysqlDatabase) DumpDDLs

func (d *MysqlDatabase) DumpDDLs() (string, error)

func (*MysqlDatabase) GetDefaultSchema

func (d *MysqlDatabase) GetDefaultSchema() string

Jump to

Keyboard shortcuts

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