dialect

package
v0.0.0-...-7088f80 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDialect

func RegisterDialect(name string, dialect Dialect)

Types

type Dialect

type Dialect interface {
	DataTypeOf(reflect.Value) string
	TableExistSQL(string) (string, []interface{})
}

兼容不同数据库的差异 例如数据类型与 Go 语言中类型的关系

func GetDialect

func GetDialect(name string) (Dialect, bool)

Jump to

Keyboard shortcuts

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