clickhouseutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsZeroValue

func IsZeroValue(val reflect.Value) bool

Types

type ITable

type ITable interface {
	TableName() string
}

type Repo

type Repo[T ITable] struct {
	ClickHouse clickHouseDriver.Conn
	// contains filtered or unexported fields
}

func NewRepo

func NewRepo[T ITable](clickHouse *clickHouseDriver.Conn) Repo[T]

func (*Repo[T]) Create

func (r *Repo[T]) Create(ctx context.Context, model ITable) error

Jump to

Keyboard shortcuts

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