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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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