Documentation ¶
Index ¶
- func Apply[T any](f func(a sq.QueryModApply[T])) sq.QueryMod[T]
- func CrossJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]
- func CrossJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func From[T, CHAIN any](table string) *ichain.FromChain[T, CHAIN]
- func FromExpr[T, CHAIN any](table litsql.Expression) *ichain.FromChain[T, CHAIN]
- func FromQuery[T, CHAIN, A any](q isq.Query[A]) *ichain.FromChain[T, CHAIN]
- func FullJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]
- func FullJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func InnerJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]
- func InnerJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func JoinExpr[T, CHAIN any](typ string, table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func LeftJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]
- func LeftJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func Only[T any]() sq.QueryMod[T]
- func RawQuery[T any](rawQuery string, args ...any) sq.QueryMod[T]
- func RawQueryExpr[T any](rawQuery litsql.Expression) sq.QueryMod[T]
- func Returning[T any](clauses ...string) sq.QueryMod[T]
- func RightJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]
- func RightJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func Set[T any](column string, arg any) sq.QueryMod[T]
- func SetArgNamed[T any](column string, argumentName string) sq.QueryMod[T]
- func SetClause[T any](query string, args ...any) sq.QueryMod[T]
- func SetExpr[T any](column string, value litsql.Expression) sq.QueryMod[T]
- func SetExprClause[T any](assignment litsql.Expression) sq.QueryMod[T]
- func SetQuery[T, A any](column string, q isq.Query[A]) sq.QueryMod[T]
- func SetString[T any](column string, right string) sq.QueryMod[T]
- func StraightJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]
- func StraightJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
- func Table[T any](name string) sq.QueryMod[T]
- func TableAs[T any](name string, alias string) sq.QueryMod[T]
- func Update[T any](dialect litsql.Dialect, mods ...sq.QueryMod[T]) sq.Query[T]
- func Where[T any](condition string) sq.QueryMod[T]
- func WhereClause[T any](query string, args ...any) sq.QueryMod[T]
- func WhereExpr[T any](condition litsql.Expression) sq.QueryMod[T]
- func With[T, CHAIN any](name string, columns ...string) *ichain.WithChain[T, CHAIN]
- func WithExpr[T, CHAIN any](name string, columns ...litsql.Expression) *ichain.WithChain[T, CHAIN]
- type UpdateQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrossJoinExpr ¶ added in v0.8.0
func CrossJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
func FromExpr ¶ added in v0.8.0
func FromExpr[T, CHAIN any](table litsql.Expression) *ichain.FromChain[T, CHAIN]
func FullJoinExpr ¶ added in v0.8.0
func FullJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
func InnerJoinExpr ¶ added in v0.8.0
func InnerJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
func LeftJoinExpr ¶ added in v0.8.0
func LeftJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
func RawQueryExpr ¶ added in v0.8.1
func RawQueryExpr[T any](rawQuery litsql.Expression) sq.QueryMod[T]
func RightJoinExpr ¶ added in v0.8.0
func RightJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
func SetArgNamed ¶ added in v0.8.0
func SetExprClause ¶ added in v0.8.0
func SetExprClause[T any](assignment litsql.Expression) sq.QueryMod[T]
func StraightJoinExpr ¶ added in v0.8.0
func StraightJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]
func WhereClause ¶ added in v0.8.0
Types ¶
type UpdateQuery ¶
type UpdateQuery[T any] struct { *isq.DefaultQuery[T] }
Click to show internal directories.
Click to hide internal directories.