mysqlutil

package
v1.9.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Custom

func Custom(query string, args ...driver.Value) string

func Table

func Table(tableName string) *sqlutil.QueryBuilder

Types

type ConnectionOptions

type ConnectionOptions struct {
	Host       string
	Port       int
	User       string
	Password   string
	Database   string
	Charset    string
	Timezone   string // +8:00
	ParseTime  bool
	AutoCommit bool
	Params     map[string]string
}

func (ConnectionOptions) BuildDataSourceString

func (opts ConnectionOptions) BuildDataSourceString() string

Jump to

Keyboard shortcuts

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