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.
Click to show internal directories.
Click to hide internal directories.