dialects

package
v0.0.0-...-9dda14b Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouseDialect

type ClickHouseDialect struct{}

func (ClickHouseDialect) AutoIncrBindValue

func (d ClickHouseDialect) AutoIncrBindValue() string

func (ClickHouseDialect) AutoIncrInsertSuffix

func (d ClickHouseDialect) AutoIncrInsertSuffix(col *gorp.ColumnMap) string

func (ClickHouseDialect) AutoIncrStr

func (d ClickHouseDialect) AutoIncrStr() string

Returns empty string

func (ClickHouseDialect) BindVar

func (d ClickHouseDialect) BindVar(i int) string

Returns "$(i+1)"

func (ClickHouseDialect) CreateTableSuffix

func (d ClickHouseDialect) CreateTableSuffix() string

Returns suffix

func (ClickHouseDialect) IfSchemaNotExists

func (d ClickHouseDialect) IfSchemaNotExists(command, schema string) string

func (ClickHouseDialect) IfTableExists

func (d ClickHouseDialect) IfTableExists(command, schema, table string) string

func (ClickHouseDialect) IfTableNotExists

func (d ClickHouseDialect) IfTableNotExists(command, schema, table string) string

func (ClickHouseDialect) InsertAutoIncr

func (d ClickHouseDialect) InsertAutoIncr(exec gorp.SqlExecutor, insertSql string, params ...interface{}) (int64, error)

func (ClickHouseDialect) QuerySuffix

func (d ClickHouseDialect) QuerySuffix() string

func (ClickHouseDialect) QuoteField

func (d ClickHouseDialect) QuoteField(f string) string

func (ClickHouseDialect) QuotedTableForQuery

func (d ClickHouseDialect) QuotedTableForQuery(schema string, table string) string

func (ClickHouseDialect) ToSqlType

func (d ClickHouseDialect) ToSqlType(val reflect.Type, maxsize int, isAutoIncr bool) string

func (ClickHouseDialect) TruncateClause

func (d ClickHouseDialect) TruncateClause() string

Jump to

Keyboard shortcuts

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