Versions in this module Expand all Collapse all v0 v0.42.5 Jan 27, 2026 v0.42.4 Jan 27, 2026 Changes in this version + func Any(vals ...any) bob.Expression + func Arg(vals ...any) bob.Expression + func ArgGroup(vals ...any) bob.Expression + func Cast(e bob.Expression, typname string) bob.Expression + func Not[T bob.Expression, B builder[T]](exp bob.Expression) T + func OP(operator string, left, right any) bob.Expression + func Quote(aa ...string) bob.Expression + func RawQuery(d bob.Dialect, q string, args ...any) bob.BaseQuery[Clause] + func ToArgGroup[T any](vals ...T) bob.Expression + func ToArgs[T any](vals ...T) bob.Expression + func X[T bob.Expression, B builder[T]](exp bob.Expression, others ...bob.Expression) T + type Builder struct + func (e Builder[T, B]) And(args ...bob.Expression) T + func (e Builder[T, B]) Any(vals ...any) T + func (e Builder[T, B]) Arg(vals ...any) T + func (e Builder[T, B]) ArgGroup(vals ...any) T + func (e Builder[T, B]) Cast(exp bob.Expression, typname string) T + func (e Builder[T, B]) Group(exps ...bob.Expression) T + func (e Builder[T, B]) Not(exp bob.Expression) T + func (e Builder[T, B]) Or(args ...bob.Expression) T + func (e Builder[T, B]) Placeholder(n uint) T + func (e Builder[T, B]) Quote(aa ...string) T + func (e Builder[T, B]) Raw(query string, args ...any) T + func (e Builder[T, B]) S(s string) T + type CaseChain func() caseExpr + func NewCase[T bob.Expression, B builder[T]]() CaseChain[T, B] + func (cc CaseChain[T, B]) Else(then bob.Expression) T + func (cc CaseChain[T, B]) End() T + func (cc CaseChain[T, B]) When(condition, then bob.Expression) CaseChain[T, B] + func (cc CaseChain[T, B]) WriteSQL(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) + type Chain struct + Base bob.Expression + func (x Chain[T, B]) And(targets ...bob.Expression) T + func (x Chain[T, B]) As(alias string) bob.Expression + func (x Chain[T, B]) Between(a, b bob.Expression) T + func (x Chain[T, B]) Concat(targets ...bob.Expression) T + func (x Chain[T, B]) EQ(target bob.Expression) T + func (x Chain[T, B]) GT(target bob.Expression) T + func (x Chain[T, B]) GTE(target bob.Expression) T + func (x Chain[T, B]) In(vals ...bob.Expression) T + func (x Chain[T, B]) IsDistinctFrom(exp bob.Expression) T + func (x Chain[T, B]) IsNotDistinctFrom(exp bob.Expression) T + func (x Chain[T, B]) IsNotNull() T + func (x Chain[T, B]) IsNull() T + func (x Chain[T, B]) LT(target bob.Expression) T + func (x Chain[T, B]) LTE(target bob.Expression) T + func (x Chain[T, B]) Like(target bob.Expression) T + func (x Chain[T, B]) Minus(target bob.Expression) T + func (x Chain[T, B]) NE(target bob.Expression) T + func (x Chain[T, B]) NotBetween(a, b bob.Expression) T + func (x Chain[T, B]) NotIn(vals ...bob.Expression) T + func (x Chain[T, B]) OP(op string, target bob.Expression) T + func (x Chain[T, B]) Or(targets ...bob.Expression) T + func (x Chain[T, B]) Plus(target bob.Expression) T + func (x Chain[T, B]) WriteSQL(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) + type Clause struct + func (r Clause) WriteSQL(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) + type ColumnsExpr struct + func ColsForStruct[T any](name string) ColumnsExpr + func NewColumnsExpr(names ...string) ColumnsExpr + func (c ColumnsExpr) DisableAlias() ColumnsExpr + func (c ColumnsExpr) EnableAlias() ColumnsExpr + func (c ColumnsExpr) Except(cols ...string) ColumnsExpr + func (c ColumnsExpr) Names() []string + func (c ColumnsExpr) Only(cols ...string) ColumnsExpr + func (c ColumnsExpr) WithAggFunc(a, b string) ColumnsExpr + func (c ColumnsExpr) WithParent(p ...string) ColumnsExpr + func (c ColumnsExpr) WithPrefix(prefix string) ColumnsExpr + func (c ColumnsExpr) WriteSQL(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) + type Join struct + Exprs []bob.Expression + Sep string + func (s Join) WriteSQL(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) + type Raw string + func (r Raw) WriteSQL(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error)