clickhouse icon indicating copy to clipboard operation
clickhouse copied to clipboard

GORM clickhouse driver

Results 35 clickhouse issues
Sort by recently updated
recently updated
newest added

当我复用gorm.Open的*gorm.DB,且使用CreateInBatches方法写批量写入数据,总是返回: - result.RowsAffected = 0 - result.Error = nil 在clickhouse表中,也没有写入成功。 最后没办法,通过调用CreateInBatches方法,并且开启Dry(为了拿到SQL) ```go session := gorm.Open(...) session.ormClient = session.ormClient.Session(&gorm.Session{ SkipDefaultTransaction: session.ormClient.SkipDefaultTransaction, Logger: session.ormClient.Logger, DryRun: true, }) session.ormClient.Callback().Create().After("trace_before").Register("get_sql", func(db *gorm.DB) { session.SQL...

如果密码中有特殊字符,例如#号,需要编码一下,搞了两天。。。。难受

type:question

Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.5 to 1.1.12. Release notes Sourced from github.com/opencontainers/runc's releases. runc 1.1.12 -- "Now you're thinking with Portals™!" This is the twelfth patch release in the 1.1.z release...

dependencies
go

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.0.1+incompatible to 26.0.2+incompatible. Release notes Sourced from github.com/docker/docker's releases. v26.0.2 26.0.2 For a full list of pull requests and changes in this release, refer to the relevant...

dependencies
go

Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx) from 1.2.25 to 1.2.29. Release notes Sourced from github.com/lestrrat-go/jwx's releases. v1.2.29 07 Mar 2024 [Security] [jwe] Added jwe.Settings(jwe.WithMaxDecompressBufferSize(int64)) to specify the maximum size of a decompressed JWE payload....

dependencies
go

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0. Commits c48da13 http2: fix TestServerContinuationFlood flakes 762b58d http2: fix tipos in comment ba87210 http2: close connections when receiving too many headers ebc8168 all: fix...

dependencies
go

## GORM Playground Link https://github.com/go-gorm/playground/pull/1 ## Description OpenDB 方法不存在,是更新了新版吗?

## GORM Playground Link https://github.com/go-gorm/playground/pull/1 ```golang package main import ( "fmt" "gorm.io/driver/clickhouse" "gorm.io/gorm" ) type User struct { Uniqid uint8 `gorm:"column:col1"` Name string `gorm:"column:col2"` } func (User) TableName() string {...

## Your Question How can I set the `allow_experimental_object_type` value before creating a table in Clickhouse DB using go-gorm library? ## The document you expected this should be explained I...

type:question

when prewhere support, in some cases, the performance of `prewhere` is better than `where `