mysql

package
v0.0.0-...-547b272 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLockCmd

func GetLockCmd(lock database.LockMode) string

Types

type MySQL

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

XXX: Do not share variables in MySQL without exclusive locking. MySQL may be used by muliple goroutines simultaneously.

func NewMySQL

func NewMySQL(host, username, password string, port uint16, clientFoundRows bool) (*MySQL, error)

func (*MySQL) NewTransaction

func (r *MySQL) NewTransaction() database.Transaction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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