dialect

package
v0.0.0-...-1e4cd2d Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AggSum           preformShare.Aggregator = "SUM"
	AggAvg           preformShare.Aggregator = "AVG"
	AggMax           preformShare.Aggregator = "MAX"
	AggMin           preformShare.Aggregator = "MIN"
	AggCount         preformShare.Aggregator = "COUNT"
	AggCountDistinct preformShare.Aggregator = "COUNT_DISTINCT"
	AggMean          preformShare.Aggregator = "MEAN"
	AggMedian        preformShare.Aggregator = "MEDIAN"
	AggMode          preformShare.Aggregator = "MODE"
	AggStdDev        preformShare.Aggregator = "STDDEV"
	AggGroupConcat   preformShare.Aggregator = "GROUP_CONCAT"
	AggJson          preformShare.Aggregator = "JSON_AGG"
	AggArray         preformShare.Aggregator = "ARRAY_AGG"
)
View Source
const (
	LastInsertIdMethodByRes preformShare.SqlDialectLastInsertIdMethod = iota
	LastInsertIdMethodBySuffix
	LastInsertIdMethodNone
)

Variables

View Source
var (
	ErrorNotSupport = errors.New("driver not support")
)

Functions

func NewBasicSqlDialect

func NewBasicSqlDialect(quoteTpl string) *basicSqlDialect

func NewClickhouseDialect

func NewClickhouseDialect() *clickhouseDialect

func NewMysqlDialect

func NewMysqlDialect() *mysqlDialect

func NewPostgresqlDialect

func NewPostgresqlDialect() *postgresqlDialect

func NewSqliteDialect

func NewSqliteDialect() *sqliteDialect

Types

This section is empty.

Jump to

Keyboard shortcuts

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