tk

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeywordSelect   = "SELECT"
	KeywordUpdate   = "UPDATE"
	KeywordSet      = "SET"
	KeywordInsert   = "INSERT"
	KeywordDELETE   = "DELETE"
	KeywordDISTINCE = "DISTINCT"
	KeywordFrom     = "FROM"
	KeywordWhere    = "WHERE"
	KeywordOrderBy  = "ORDER BY"
)
View Source
const (
	KeywordIsNull     = "IS NULL"
	KeywordIsNotNull  = "IS NOT NULL"
	KeywordIn         = "IN"
	KeywordNotIn      = "NOT IN"
	KeywordLike       = "LIKE"
	KeywordNotLike    = "NOT LIKE"
	KeywordBetween    = "BETWEEN"
	KeywordNotBetween = "NOT BETWEEN"
	KeywordAnd        = "AND"
	KeywordOr         = "OR"
)
View Source
const (
	KeywordEqual      = "="
	KeywordNotEqual   = "<>"
	KeywordGreater    = ">"
	KeywordNotGreater = "<="
	KeywordLess       = "<"
	KeywordNotLess    = ">="
)
View Source
const (
	Placeholder        = "?"
	PlaceholderString  = "?"
	PlaceholderNumeric = "?"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper added in v1.4.4

func NewMapper added in v1.4.4

func NewMapper(datasource, table string) *Mapper

func (*Mapper) Bean added in v1.4.4

func (a *Mapper) Bean() string

func (*Mapper) DataSource added in v1.4.4

func (a *Mapper) DataSource() string

func (*Mapper) SetDB added in v1.4.4

func (a *Mapper) SetDB(db datasource.DB)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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