mysql

package
v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2015 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(query 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 string) (driver.Conn, error)

Jump to

Keyboard shortcuts

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