mysql

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDriverNotReady = errors.New("driver not ready")

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	Err error
	// contains filtered or unexported fields
}

func NewWrapper

func NewWrapper(drv *sql.DB) *Wrapper

func (*Wrapper) Each

func (self *Wrapper) Each(callback func(*Wrapper) bool) *Wrapper

func (*Wrapper) Execute

func (self *Wrapper) Execute(query string, args ...interface{}) *Wrapper

func (*Wrapper) One

func (self *Wrapper) One(data ...interface{}) *Wrapper

func (*Wrapper) Query

func (self *Wrapper) Query(query string, args ...interface{}) *Wrapper

func (*Wrapper) Scan

func (self *Wrapper) Scan(dest ...interface{})

Jump to

Keyboard shortcuts

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