um

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.4.2

func Apply(f func(a psql.UpdateModApply)) psql.UpdateMod

func Only

func Only() psql.UpdateMod

func Returning

func Returning(clauses ...string) psql.UpdateMod

func Set

func Set(column string, arg any) psql.UpdateMod

func SetAN added in v0.6.3

func SetAN(column string, argumentName string) psql.UpdateMod

func SetE

func SetE(column string, value litsql.Expression) psql.UpdateMod

func SetQ

func SetQ(column string, q psql.SelectQuery) psql.UpdateMod

func SetR

func SetR(raw string) psql.UpdateMod

func SetRE

func SetRE(assignment litsql.Expression) psql.UpdateMod

func SetS

func SetS(column string, right string) psql.UpdateMod

func Table

func Table(name string) psql.UpdateMod

func Where

func Where(condition string) psql.UpdateMod

func WhereC

func WhereC(query string, args ...any) psql.UpdateMod

func WhereE

func WhereE(condition litsql.Expression) psql.UpdateMod

Types

type FromChain

type FromChain = chain.From[tag.UpdateTag]

func From

func From(table string) FromChain

func FromE

func FromE(table litsql.Expression) FromChain

func FromQ

func FromQ(q psql.SelectQuery) FromChain

type JoinChain

type JoinChain = chain.Join[tag.UpdateTag]

func CrossJoin

func CrossJoin(table string) JoinChain

func CrossJoinE

func CrossJoinE(table litsql.Expression) JoinChain

func FullJoin

func FullJoin(table string) JoinChain

func FullJoinE

func FullJoinE(table litsql.Expression) JoinChain

func InnerJoin

func InnerJoin(table string) JoinChain

func InnerJoinE

func InnerJoinE(table litsql.Expression) JoinChain

func LeftJoin

func LeftJoin(table string) JoinChain

func LeftJoinE

func LeftJoinE(table litsql.Expression) JoinChain

func RightJoin

func RightJoin(table string) JoinChain

func RightJoinE

func RightJoinE(table litsql.Expression) JoinChain

func StraightJoin

func StraightJoin(table string) JoinChain

func StraightJoinE

func StraightJoinE(table litsql.Expression) JoinChain

type WithChain

type WithChain = chain.With[tag.UpdateTag]

func With

func With(name string, columns ...string) WithChain

func WithE

func WithE(name string, columns ...litsql.Expression) WithChain

Jump to

Keyboard shortcuts

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