dialects

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DataTypeString  = DataType("string")
	DataTypeInteger = DataType("int")
	DataTypeFloat   = DataType("float")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataType

type DataType string

type Dialect

type Dialect interface {
	Identifier(string) string
	DataType(DataType) string
	InsertOrUpdate(table, primaryKey string, columns []string, values []any) (string, []any)
}
var DefaultDialect Dialect = &unsetDialect{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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