mysql

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL

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

func New

func New(cfg *config.Resource) (*MySQL, error)

func (*MySQL) Close added in v1.4.1

func (d *MySQL) Close() error

func (*MySQL) Delete

func (d *MySQL) Delete(tableName string, condition map[string]string) (int, error)

func (*MySQL) Insert

func (d *MySQL) Insert(tableName string, rows []map[string]string) error

func (*MySQL) Open added in v1.4.1

func (d *MySQL) Open() error

func (*MySQL) Ready

func (d *MySQL) Ready() error

func (*MySQL) Reset

func (d *MySQL) Reset() error

func (*MySQL) Select

func (d *MySQL) Select(tableName string, condition map[string]string) ([]map[string]string, error)

Jump to

Keyboard shortcuts

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