dialect

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MySQL = Dialect{
		Name:  "MySQL",
		Quote: '`',
	}
	SQLite = Dialect{
		Name:  "SQLite",
		Quote: '`',
	}
)

Functions

This section is empty.

Types

type Dialect

type Dialect struct {
	Name string
	// in MYSQL, it's "`"
	Quote byte
}

Dialect specify config or behavior of special SQL dialects

func Of

func Of(driver string) (Dialect, error)

Jump to

Keyboard shortcuts

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