mysql

package
v4.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

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

func (Conn) AddApplied

func (c Conn) AddApplied(migration string) error

func (Conn) CreateTable

func (c Conn) CreateTable() error

func (Conn) Execute

func (c Conn) Execute(statement string) error

func (Conn) GetApplied

func (c Conn) GetApplied() ([]string, error)

func (Conn) HasTable

func (c Conn) HasTable() (bool, error)

func (Conn) RemoveApplied

func (c Conn) RemoveApplied(migration string) error

type Driver

type Driver struct{}

func (Driver) New

func (d Driver) New(dsn, schema, table string) (driver.Conn, error)

Jump to

Keyboard shortcuts

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