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 DialectMySQL + const DialectPostgres + const DialectSQLite + const DialectUnknown + var ErrNoLiteralQuoting = errors.New("sqlb: dialect cannot write a literal") + var ErrNotInlinable = errors.New("sqlb: value cannot be written as a literal") + var ErrUnsupportedDialect = errors.New("sqlb: construct is not supported by this dialect") + func DialectName(d Dialect) string + func Quote(s string, q byte) string + type Args struct + func NewArgs(d Dialect) *Args + func NewInlineArgs(d Dialect) *Args + func (a *Args) Bare(fn func() string) string + func (a *Args) ByTableName() bool + func (a *Args) Dialect() Dialect + func (a *Args) Err() error + func (a *Args) Fail(err error) + func (a *Args) Literal(v any) string + func (a *Args) Next(v any) string + func (a *Args) TableNamed(fn func() string) string + func (a *Args) Unqualified() bool + func (a *Args) Unsupported(construct string) + func (a *Args) Values() []any + type CaseInsensitiveLike interface + SupportsILike func() bool + type CombinedAlter interface + SupportsCombinedAlter func() bool + type Dialect interface + Placeholder func(n int) string + QuoteIdent func(ident string) string + type InsertAliasing interface + SupportsInsertAlias func() bool + type LikeEscaping interface + SupportsLikeEscape func() bool + type LiteralQuoting interface + QuoteLiteral func(v any) (string, error) + type Named interface + Name func() string + type NumericParameters interface + NumericParam func(placeholder string, v any) string + type Returning interface + SupportsReturning func() bool + type SQLer interface + SQL func(a *Args) string + func Raw(render func(a *Args) string) SQLer + type UnrestrictedAddColumn interface + SupportsUnrestrictedAddColumn func() bool + type UntypedParameters interface + TextParam func(placeholder string) string