Documentation ¶
Index ¶
- type ClickHouseDialect
- func (d ClickHouseDialect) AutoIncrBindValue() string
- func (d ClickHouseDialect) AutoIncrInsertSuffix(col *gorp.ColumnMap) string
- func (d ClickHouseDialect) AutoIncrStr() string
- func (d ClickHouseDialect) BindVar(i int) string
- func (d ClickHouseDialect) CreateTableSuffix() string
- func (d ClickHouseDialect) IfSchemaNotExists(command, schema string) string
- func (d ClickHouseDialect) IfTableExists(command, schema, table string) string
- func (d ClickHouseDialect) IfTableNotExists(command, schema, table string) string
- func (d ClickHouseDialect) InsertAutoIncr(exec gorp.SqlExecutor, insertSql string, params ...interface{}) (int64, error)
- func (d ClickHouseDialect) QuerySuffix() string
- func (d ClickHouseDialect) QuoteField(f string) string
- func (d ClickHouseDialect) QuotedTableForQuery(schema string, table string) string
- func (d ClickHouseDialect) ToSqlType(val reflect.Type, maxsize int, isAutoIncr bool) string
- func (d ClickHouseDialect) TruncateClause() string
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) TruncateClause ¶
func (d ClickHouseDialect) TruncateClause() string
Click to show internal directories.
Click to hide internal directories.