dialects

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DataTypeBlob            = DataType("blob")
	DataTypeBoolean         = DataType("bool")
	DataTypeDate            = DataType("date")
	DataTypeDateTime        = DataType("date-time")
	DataTypeFloat           = DataType("float")
	DataTypeInteger         = DataType("int")
	DataTypeJSON            = DataType("json")
	DataTypeString          = DataType("string")
	DataTypeUnsignedInteger = DataType("uint")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataType

type DataType string

func (DataType) IsValid added in v0.17.1

func (d DataType) IsValid() bool

type DataTyper added in v0.17.1

type DataTyper interface {
	DataType() DataType
}

type Dialect

type Dialect interface {
	Identifier(string) string
	DataType(DataType) string
	CurrentTime() string
}
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