Documentation ¶
Index ¶
- func Apply[T any](f func(a sq.QueryModApply[T])) sq.QueryMod[T]
- func ConflictSet[T any](column string, arg any) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func ConflictSetE[T any](column string, value litsql.Expression) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func ConflictSetQ[T, A any](column string, q isq.Query[A]) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func ConflictSetR[T any](raw string) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func ConflictSetRE[T any](assignment litsql.Expression) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func ConflictSetS[T any](column string, right string) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func Insert[T any](dialect litsql.Dialect, mods ...sq.QueryMod[T]) sq.Query[T]
- func Into[T any](name string, columns ...string) sq.QueryMod[T]
- func IntoAs[T any](name string, alias string, columns ...string) sq.QueryMod[T]
- func OnConflict[T any](columns ...string) chain.InsertConflict[T, imod.InsertConflictUpdateModUM]
- func OnConflictOnConstraint[T any](constraint string) chain.InsertConflict[T, imod.InsertConflictUpdateModUM]
- func OverridingSystem[T any]() sq.QueryMod[T]
- func OverridingUser[T any]() sq.QueryMod[T]
- func Query[T, A any](q isq.Query[A]) sq.QueryMod[T]
- func Returning[T any](clauses ...string) sq.QueryMod[T]
- func Values[T any](values ...any) sq.QueryMod[T]
- func ValuesE[T any](clauses ...litsql.Expression) sq.QueryMod[T]
- func ValuesS[T any](clauses ...string) sq.QueryMod[T]
- func Where[T any](condition string) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func WhereC[T any](query string, args ...any) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func WhereE[T any](condition litsql.Expression) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
- func With[T any](name string, columns ...string) chain.With[T]
- func WithE[T any](name string, columns ...litsql.Expression) chain.With[T]
- type InsertQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConflictSet ¶
func ConflictSet[T any](column string, arg any) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func ConflictSetE ¶
func ConflictSetE[T any](column string, value litsql.Expression) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func ConflictSetQ ¶
func ConflictSetQ[T, A any](column string, q isq.Query[A]) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func ConflictSetR ¶
func ConflictSetR[T any](raw string) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func ConflictSetRE ¶
func ConflictSetRE[T any](assignment litsql.Expression) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func ConflictSetS ¶
func ConflictSetS[T any](column string, right string) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func OnConflict ¶
func OnConflict[T any](columns ...string) chain.InsertConflict[T, imod.InsertConflictUpdateModUM]
func OnConflictOnConstraint ¶
func OnConflictOnConstraint[T any](constraint string) chain.InsertConflict[T, imod.InsertConflictUpdateModUM]
func OverridingSystem ¶
func OverridingUser ¶
func Where ¶
func Where[T any](condition string) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func WhereC ¶
func WhereC[T any](query string, args ...any) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
func WhereE ¶
func WhereE[T any](condition litsql.Expression) mod.InsertConflictUpdateMod[T, imod.InsertConflictUpdateModUM]
Types ¶
type InsertQuery ¶
type InsertQuery[T any] struct { *isq.DefaultQuery[T] }
Click to show internal directories.
Click to hide internal directories.