Versions in this module Expand all Collapse all v0 v0.1.1 Oct 11, 2026 v0.1.0 Oct 11, 2026 Changes in this version + const DialectClickHouse + const SettingJoinUseNulls + const SettingMaxThreads + var ErrEmptySetting = errors.New("sqlb/ch: SETTINGS needs at least one named setting") + func ArgMax[T, U any](value sqlb.Expr[T], by sqlb.Expr[U]) sqlb.Expr[T] + func Count() sqlb.Expr[uint64] + func CountIf(cond sqlb.Predicate) sqlb.Expr[uint64] + func Is(d sqlb.Dialect) bool + func SumIf[T any](e sqlb.Expr[T], cond sqlb.Predicate) sqlb.Expr[T] + func ToStartOfDay(e sqlb.Expr[time.Time]) sqlb.Expr[time.Time] + func ToStartOfHour(e sqlb.Expr[time.Time]) sqlb.Expr[time.Time] + func UniqExact[T any](e sqlb.Expr[T]) sqlb.Expr[uint64] + func Uniq[T any](e sqlb.Expr[T]) sqlb.Expr[uint64] + type Dialect = clickhouse.Dialect + type SelectClause = sqlb.Clause[Dialect, sqlb.SelectKind] + func ArrayJoin[T any](col sqlb.Expr[[]T], alias string) (SelectClause, sqlb.Expr[T]) + func Final() SelectClause + func LimitBy(n int, exprs ...sqlb.SQLer) SelectClause + func Prewhere(preds ...sqlb.Predicate) SelectClause + func Sample(ratio float64) SelectClause + func Settings(settings ...Setting) SelectClause + type Setting struct + Name string + Value any + func JoinUseNulls() Setting