ium

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 8 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[T any](f func(a sq.QueryModApply[T])) sq.QueryMod[T]

func CrossJoin

func CrossJoin[T any](table string) chain.Join[T]

func CrossJoinE

func CrossJoinE[T any](table litsql.Expression) chain.Join[T]

func From

func From[T any](table string) chain.From[T]

func FromE

func FromE[T any](table litsql.Expression) chain.From[T]

func FromQ

func FromQ[T, A any](q isq.Query[A]) chain.From[T]

func FullJoin

func FullJoin[T any](table string) chain.Join[T]

func FullJoinE

func FullJoinE[T any](table litsql.Expression) chain.Join[T]

func InnerJoin

func InnerJoin[T any](table string) chain.Join[T]

func InnerJoinE

func InnerJoinE[T any](table litsql.Expression) chain.Join[T]

func LeftJoin

func LeftJoin[T any](table string) chain.Join[T]

func LeftJoinE

func LeftJoinE[T any](table litsql.Expression) chain.Join[T]

func Only

func Only[T any](only bool) sq.QueryMod[T]

func Returning

func Returning[T any](clauses ...string) sq.QueryMod[T]

func RightJoin

func RightJoin[T any](table string) chain.Join[T]

func RightJoinE

func RightJoinE[T any](table litsql.Expression) chain.Join[T]

func Set

func Set[T any](column string, arg any) sq.QueryMod[T]

func SetAN added in v0.6.3

func SetAN[T any](column string, argumentName string) sq.QueryMod[T]

func SetC added in v0.6.6

func SetC[T any](query string, args ...any) sq.QueryMod[T]

func SetE

func SetE[T any](column string, value litsql.Expression) sq.QueryMod[T]

func SetEC added in v0.6.6

func SetEC[T any](assignment litsql.Expression) sq.QueryMod[T]

func SetQ

func SetQ[T, A any](column string, q isq.Query[A]) sq.QueryMod[T]

func SetS

func SetS[T any](column string, right string) sq.QueryMod[T]

func StraightJoin

func StraightJoin[T any](table string) chain.Join[T]

func StraightJoinE

func StraightJoinE[T any](table litsql.Expression) chain.Join[T]

func Table

func Table[T any](name string) sq.QueryMod[T]

func TableAs

func TableAs[T any](name string, alias string) sq.QueryMod[T]

func Update

func Update[T any](dialect litsql.Dialect, mods ...sq.QueryMod[T]) sq.Query[T]

func Where

func Where[T any](condition string) sq.QueryMod[T]

func WhereC

func WhereC[T any](query string, args ...any) sq.QueryMod[T]

func WhereE

func WhereE[T any](condition litsql.Expression) sq.QueryMod[T]

func With

func With[T any](name string, columns ...string) chain.With[T]

func WithE

func WithE[T any](name string, columns ...litsql.Expression) chain.With[T]

Types

type UpdateQuery

type UpdateQuery[T any] struct {
	*isq.DefaultQuery[T]
}

Jump to

Keyboard shortcuts

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