mysql

package
v0.0.0-...-26c2032 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 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