mysqldialect

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuoteIdentifier

func QuoteIdentifier(identifier string) string

Types

type MysqlDialect

type MysqlDialect struct{}

func (MysqlDialect) BuildDelete

func (dialect MysqlDialect) BuildDelete(config rem.QueryConfig) (string, []interface{}, error)

func (MysqlDialect) BuildInsert

func (dialect MysqlDialect) BuildInsert(config rem.QueryConfig, rowMap map[string]interface{}, columns ...string) (string, []interface{}, error)

func (MysqlDialect) BuildSelect

func (dialect MysqlDialect) BuildSelect(config rem.QueryConfig) (string, []interface{}, error)

func (MysqlDialect) BuildTableColumnAdd

func (dialect MysqlDialect) BuildTableColumnAdd(config rem.QueryConfig, column string) (string, error)

func (MysqlDialect) BuildTableColumnDrop

func (dialect MysqlDialect) BuildTableColumnDrop(config rem.QueryConfig, column string) (string, error)

func (MysqlDialect) BuildTableCreate

func (dialect MysqlDialect) BuildTableCreate(config rem.QueryConfig, tableCreateConfig rem.TableCreateConfig) (string, error)

func (MysqlDialect) BuildTableDrop

func (dialect MysqlDialect) BuildTableDrop(config rem.QueryConfig, tableDropConfig rem.TableDropConfig) (string, error)

func (MysqlDialect) BuildUpdate

func (dialect MysqlDialect) BuildUpdate(config rem.QueryConfig, rowMap map[string]interface{}, columns ...string) (string, []interface{}, error)

func (MysqlDialect) ColumnType

func (dialect MysqlDialect) ColumnType(field reflect.StructField) (string, error)

func (MysqlDialect) Param

func (dialect MysqlDialect) Param(identifier int) string

func (MysqlDialect) QuoteIdentifier

func (dialect MysqlDialect) QuoteIdentifier(identifier string) string

Jump to

Keyboard shortcuts

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