Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(params database.DBConnectionParams, config DBConnectionConfig) (*gorm.DB, error)
func GetTableName ¶
Types ¶
type DBConnectionConfig ¶
type DBConnectionConfig struct { Gorm *gorm.Config ClickHouse *clickhouse.Config }
type GormConnection ¶
type GormConnection struct {
// contains filtered or unexported fields
}
func NewClickHouseConnection ¶
func NewClickHouseConnection(params *database.DBConnectionParams, config DBConnectionConfig) (*GormConnection, error)
func (*GormConnection) GetDB ¶
func (c *GormConnection) GetDB() *gorm.DB
Click to show internal directories.
Click to hide internal directories.