um

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From(table any) dialect.FromChain[*dialect.UpdateQuery]

func FullJoin

func FullJoin(e any) dialect.JoinChain[*dialect.UpdateQuery]

func IndexedBy added in v0.35.0

func IndexedBy(i string) bob.Mod[*dialect.UpdateQuery]

func InnerJoin

func InnerJoin(e any) dialect.JoinChain[*dialect.UpdateQuery]

func LeftJoin

func LeftJoin(e any) dialect.JoinChain[*dialect.UpdateQuery]

func Limit added in v0.35.0

func Limit(count any) bob.Mod[*dialect.UpdateQuery]

func NotIndexed added in v0.35.0

func NotIndexed() bob.Mod[*dialect.UpdateQuery]

func Offset added in v0.35.0

func Offset(count any) bob.Mod[*dialect.UpdateQuery]

func OrAbort

func OrAbort() bob.Mod[*dialect.UpdateQuery]

func OrFail

func OrFail() bob.Mod[*dialect.UpdateQuery]

func OrIgnore

func OrIgnore() bob.Mod[*dialect.UpdateQuery]

func OrReplace

func OrReplace() bob.Mod[*dialect.UpdateQuery]

func OrRollback

func OrRollback() bob.Mod[*dialect.UpdateQuery]

func Recursive

func Recursive(r bool) bob.Mod[*dialect.UpdateQuery]

func Returning

func Returning(clauses ...any) bob.Mod[*dialect.UpdateQuery]

func RightJoin

func RightJoin(e any) dialect.JoinChain[*dialect.UpdateQuery]

func Set

func Set(sets ...bob.Expression) bob.Mod[*dialect.UpdateQuery]

func SetCol added in v0.23.0

func SetCol(from string) mods.Set[*dialect.UpdateQuery]

SetCol sets one column in UPDATE ... SET. The column name is quoted automatically. For qualified names or other expressions on the LHS, use SetExpr.

func SetExpr added in v0.45.0

func SetExpr(col bob.Expression) mods.Set[*dialect.UpdateQuery]

SetExpr is like SetCol but the column LHS is any expression (e.g. sqlite.Quote("t", "col")).

func Table

func Table(name any) bob.Mod[*dialect.UpdateQuery]

func TableAs

func TableAs(name any, alias string) bob.Mod[*dialect.UpdateQuery]

func With

func With(name string, columns ...string) dialect.CTEChain[*dialect.UpdateQuery]

Types

This section is empty.

Jump to

Keyboard shortcuts

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