mysql

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HideAutoIcrrement added in v1.48.0

func HideAutoIcrrement() drivers.Option

func ShowAutoIcrrement added in v1.39.0

func ShowAutoIcrrement() drivers.Option

Types

type Mysql

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

Mysql struct

func New added in v1.29.2

func New(db *sql.DB, opts ...drivers.Option) (*Mysql, error)

New return new Mysql

func (*Mysql) Analyze

func (m *Mysql) Analyze(s *schema.Schema) error

Analyze MySQL database schema

func (*Mysql) EnableMariaMode added in v1.48.0

func (m *Mysql) EnableMariaMode()

EnableMariaMode enable mariaMode

func (*Mysql) Info added in v1.6.0

func (m *Mysql) Info() (*schema.Driver, error)

Info return schema.Driver

Jump to

Keyboard shortcuts

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