Versions in this module Expand all Collapse all v0 v0.0.2 Dec 21, 2023 Changes in this version + const AndWithSpace + const Associations + const CurrentTable + const LockingOptionsNoWait + const LockingOptionsSkipLocked + const LockingStrengthShare + const LockingStrengthUpdate + const OrWithSpace + const PrimaryKey + var PrimaryColumn = Column + type AndConditions struct + Exprs []Expression + func (and AndConditions) Build(builder Builder) + type Assignment struct + Column Column + Value interface{} + type Builder interface + AddError func(error) error + AddVar func(Writer, ...interface{}) + WriteQuoted func(field interface{}) + type Clause struct + AfterExpression Expression + AfterNameExpression Expression + BeforeExpression Expression + Builder ClauseBuilder + Expression Expression + Name string + func (c Clause) Build(builder Builder) + type ClauseBuilder func(Clause, Builder) + type Column struct + Alias string + Name string + Raw bool + Table string + type CommaExpression struct + Exprs []Expression + func (comma CommaExpression) Build(builder Builder) + type Delete struct + Modifier string + func (d Delete) Build(builder Builder) + func (d Delete) MergeClause(clause *Clause) + func (d Delete) Name() string + type Eq struct + Column interface{} + Value interface{} + func (eq Eq) Build(builder Builder) + func (eq Eq) NegationBuild(builder Builder) + type Expr struct + SQL string + Vars []interface{} + WithoutParentheses bool + func (expr Expr) Build(builder Builder) + type Expression interface + Build func(builder Builder) + func And(exprs ...Expression) Expression + func Not(exprs ...Expression) Expression + func Or(exprs ...Expression) Expression + type From struct + Joins []Join + Tables []Table + func (from From) Build(builder Builder) + func (from From) MergeClause(clause *Clause) + func (from From) Name() string + type GroupBy struct + Columns []Column + Having []Expression + func (groupBy GroupBy) Build(builder Builder) + func (groupBy GroupBy) MergeClause(clause *Clause) + func (groupBy GroupBy) Name() string + type Gt Eq + func (gt Gt) Build(builder Builder) + func (gt Gt) NegationBuild(builder Builder) + type Gte Eq + func (gte Gte) Build(builder Builder) + func (gte Gte) NegationBuild(builder Builder) + type IN struct + Column interface{} + Values []interface{} + func (in IN) Build(builder Builder) + func (in IN) NegationBuild(builder Builder) + type Insert struct + Modifier string + Table Table + func (insert Insert) Build(builder Builder) + func (insert Insert) MergeClause(clause *Clause) + func (insert Insert) Name() string + type Interface interface + Build func(Builder) + MergeClause func(*Clause) + Name func() string + type Join struct + Expression Expression + ON Where + Table Table + Type JoinType + Using []string + func (join Join) Build(builder Builder) + type JoinType string + const CrossJoin + const InnerJoin + const LeftJoin + const RightJoin + type Like Eq + func (like Like) Build(builder Builder) + func (like Like) NegationBuild(builder Builder) + type Limit struct + Limit *int + Offset int + func (limit Limit) Build(builder Builder) + func (limit Limit) MergeClause(clause *Clause) + func (limit Limit) Name() string + type Locking struct + Options string + Strength string + Table Table + func (locking Locking) Build(builder Builder) + func (locking Locking) MergeClause(clause *Clause) + func (locking Locking) Name() string + type Lt Eq + func (lt Lt) Build(builder Builder) + func (lt Lt) NegationBuild(builder Builder) + type Lte Eq + func (lte Lte) Build(builder Builder) + func (lte Lte) NegationBuild(builder Builder) + type NamedExpr struct + SQL string + Vars []interface{} + func (expr NamedExpr) Build(builder Builder) + type NegationExpressionBuilder interface + NegationBuild func(builder Builder) + type Neq Eq + func (neq Neq) Build(builder Builder) + func (neq Neq) NegationBuild(builder Builder) + type NotConditions struct + Exprs []Expression + func (not NotConditions) Build(builder Builder) + type OnConflict struct + Columns []Column + DoNothing bool + DoUpdates Set + OnConstraint string + TargetWhere Where + UpdateAll bool + Where Where + func (OnConflict) Name() string + func (onConflict OnConflict) Build(builder Builder) + func (onConflict OnConflict) MergeClause(clause *Clause) + type OrConditions struct + Exprs []Expression + func (or OrConditions) Build(builder Builder) + type OrderBy struct + Columns []OrderByColumn + Expression Expression + func (orderBy OrderBy) Build(builder Builder) + func (orderBy OrderBy) MergeClause(clause *Clause) + func (orderBy OrderBy) Name() string + type OrderByColumn struct + Column Column + Desc bool + Reorder bool + type Returning struct + Columns []Column + func (returning Returning) Build(builder Builder) + func (returning Returning) MergeClause(clause *Clause) + func (returning Returning) Name() string + type Select struct + Columns []Column + Distinct bool + Expression Expression + func (s Select) Build(builder Builder) + func (s Select) MergeClause(clause *Clause) + func (s Select) Name() string + type Set []Assignment + func AssignmentColumns(values []string) Set + func Assignments(values map[string]interface{}) Set + func (set Set) Build(builder Builder) + func (set Set) MergeClause(clause *Clause) + func (set Set) Name() string + type Table struct + Alias string + Name string + Raw bool + type Update struct + Modifier string + Table Table + func (update Update) Build(builder Builder) + func (update Update) MergeClause(clause *Clause) + func (update Update) Name() string + type Values struct + Columns []Column + Values [][]interface{} + func (Values) Name() string + func (values Values) Build(builder Builder) + func (values Values) MergeClause(clause *Clause) + type Where struct + Exprs []Expression + func (where Where) Build(builder Builder) + func (where Where) MergeClause(clause *Clause) + func (where Where) Name() string + type With struct + type Writer interface + WriteByte func(byte) error + WriteString func(string) (int, error)