mysql

package
v0.0.0-...-5c6c1e7 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONNECTION_URL_PATTERN = "%s:%s@tcp(%s:%d)/%s?charset=utf8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlStore

type MysqlStore struct {
	abstract_sql.AbstractSqlStore
}

func (*MysqlStore) GetName

func (store *MysqlStore) GetName() string

func (*MysqlStore) Initialize

func (store *MysqlStore) Initialize(configuration util.Configuration, prefix string) (err error)

type SqlGenMysql

type SqlGenMysql struct {
	CreateTableSqlTemplate string
	DropTableSqlTemplate   string
	UpsertQueryTemplate    string
}

func (*SqlGenMysql) GetSqlCreateTable

func (gen *SqlGenMysql) GetSqlCreateTable(tableName string) string

func (*SqlGenMysql) GetSqlDelete

func (gen *SqlGenMysql) GetSqlDelete(tableName string) string

func (*SqlGenMysql) GetSqlDeleteFolderChildren

func (gen *SqlGenMysql) GetSqlDeleteFolderChildren(tableName string) string

func (*SqlGenMysql) GetSqlDropTable

func (gen *SqlGenMysql) GetSqlDropTable(tableName string) string

func (*SqlGenMysql) GetSqlFind

func (gen *SqlGenMysql) GetSqlFind(tableName string) string

func (*SqlGenMysql) GetSqlInsert

func (gen *SqlGenMysql) GetSqlInsert(tableName string) string

func (*SqlGenMysql) GetSqlListExclusive

func (gen *SqlGenMysql) GetSqlListExclusive(tableName string) string

func (*SqlGenMysql) GetSqlListInclusive

func (gen *SqlGenMysql) GetSqlListInclusive(tableName string) string

func (*SqlGenMysql) GetSqlUpdate

func (gen *SqlGenMysql) GetSqlUpdate(tableName string) string

Jump to

Keyboard shortcuts

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