clickhouse

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClickhouse

func NewClickhouse(dsn string, opts ...gorm.Option) (driver.Driver, error)

func NewDialector

func NewDialector(dsn string) gorm.Dialector

NewDialector https://github.com/go-gorm/clickhouse "tcp://localhost:9000?database=gorm&username=gorm&password=gorm&read_timeout=10&write_timeout=20"

Types

type Clickhouse

type Clickhouse struct {
	// contains filtered or unexported fields
}

func (*Clickhouse) DB

func (c *Clickhouse) DB() *gorm.DB

func (*Clickhouse) Truncate

func (c *Clickhouse) Truncate(table string) error

Jump to

Keyboard shortcuts

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