mysql

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyDB

type MyDB struct {
	Host     string
	User     string
	Password string
	Database string
	// contains filtered or unexported fields
}

MyDB MyDB

func (*MyDB) Close

func (m *MyDB) Close() bool

Close Close

func (*MyDB) Connect

func (m *MyDB) Connect() bool

Connect Connect

func (*MyDB) Delete

func (m *MyDB) Delete(query string, args ...interface{}) bool

Delete Delete

func (*MyDB) Get

func (m *MyDB) Get(query string, args ...interface{}) *di.DbRow

Get Get

func (*MyDB) GetList

func (m *MyDB) GetList(query string, args ...interface{}) *di.DbRows

GetList GetList

func (*MyDB) Insert

func (m *MyDB) Insert(query string, args ...interface{}) (bool, int64)

Insert Insert

func (*MyDB) Test

func (m *MyDB) Test(query string, args ...interface{}) *di.DbRow

Test Test

func (*MyDB) Update

func (m *MyDB) Update(query string, args ...interface{}) bool

Update Update

Jump to

Keyboard shortcuts

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