Versions in this module Expand all Collapse all v1 v1.4.6 Jun 12, 2021 Changes in this version + const DefaultConnTimeout + const DefaultDatabase + const DefaultReadTimeout + const DefaultUsername + const DefaultWriteTimeout + var ErrInsertInNotBatchMode = errors.New("insert statement supported only in the batch mode (use begin/commit)") + var ErrLimitDataRequestInTx = errors.New("data request has already been prepared in transaction") + func Array(v interface{}) interface + func ArrayDate(v []time.Time) interface + func ArrayDateTime(v []time.Time) interface + func ArrayFixedString(len int, v interface{}) interface + func DeregisterTLSConfig(key string) + func Open(dsn string) (driver.Conn, error) + func RegisterTLSConfig(key string, config *tls.Config) error + func SetLogOutput(output io.Writer) + func WithQueryID(ctx context.Context, queryID string) context.Context + type Clickhouse interface + Begin func() (driver.Tx, error) + Block func() (*data.Block, error) + Close func() error + Commit func() error + Prepare func(query string) (driver.Stmt, error) + Rollback func() error + WriteBlock func(block *data.Block) error + func OpenDirect(dsn string) (Clickhouse, error) + type ColumnWriter interface + WriteArray func(c int, v interface{}) error + WriteArrayNullable func(c int, v *interface{}) error + WriteBytes func(c int, v []byte) error + WriteBytesNullable func(c int, v *[]byte) error + WriteDate func(c int, v time.Time) error + WriteDateNullable func(c int, v *time.Time) error + WriteDateTime func(c int, v time.Time) error + WriteDateTimeNullable func(c int, v *time.Time) error + WriteFixedString func(c int, v []byte) error + WriteFixedStringNullable func(c int, v *[]byte) error + WriteFloat32 func(c int, v float32) error + WriteFloat32Nullable func(c int, v *float32) error + WriteFloat64 func(c int, v float64) error + WriteFloat64Nullable func(c int, v *float64) error + WriteString func(c int, v string) error + WriteStringNullable func(c int, v *string) error + WriteUInt16 func(c int, v uint16) error + WriteUInt16Nullable func(c int, v *uint16) error + WriteUInt32 func(c int, v uint32) error + WriteUInt32Nullable func(c int, v *uint32) error + WriteUInt64 func(c int, v uint64) error + WriteUInt64Nullable func(c int, v *uint64) error + WriteUInt8 func(c int, v uint8) error + WriteUInt8Nullable func(c int, v *uint8) error + type Date = types.Date + type DateTime = types.DateTime + type Exception struct + Code int32 + Message string + Name string + StackTrace string + func (e *Exception) Error() string + type ExternalTable struct + Columns []column.Column + Name string + Values [][]driver.Value + type UUID = types.UUID