mysql

package module
v0.0.0-...-f4c5322 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	User string
	Pass string
	Name string
	Host string
	Port string
}

/////////////

Structs  //

/////////////

func (*Database) Config

func (dbs *Database) Config(user string, pass string, name string) error

func (Database) Delete

func (dbs Database) Delete(query string, args ...interface{}) (json.RawMessage, error)

func (Database) Insert

func (dbs Database) Insert(query string, args ...interface{}) (json.RawMessage, error)

func (Database) Select

func (dbs Database) Select(query string, args ...interface{}) (json.RawMessage, error)

func (Database) Update

func (dbs Database) Update(query string, args ...interface{}) (json.RawMessage, error)

Jump to

Keyboard shortcuts

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