dialect

package
v0.0.0-...-c39eebc Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFoundDialect = errors.New("not found dialect")

Functions

func RegisterDialect

func RegisterDialect(name string, dialect Dialect)

RegisterDialect Register Dialect.

Types

type Dialect

type Dialect interface {
	TableExistSQL(tableName string) (string, []any)
}

Dialect getDB Dialect

func GetDialect

func GetDialect(name string) (dialect Dialect, err error)

GetDialect Get Dialect.

Jump to

Keyboard shortcuts

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