Documentation ¶
Overview ¶
Code generated by "litsql-dialectgen"; DO NOT EDIT.
Code generated by "litsql-dialectgen"; DO NOT EDIT.
Index ¶
- func Apply(f func(a mysql.UpdateModApply)) mysql.UpdateMod
- func Only() mysql.UpdateMod
- func Returning(clauses ...string) mysql.UpdateMod
- func Set(column string, arg any) mysql.UpdateMod
- func SetArgNamed(column string, argumentName string) mysql.UpdateMod
- func SetClause(query string, args ...any) mysql.UpdateMod
- func SetExpr(column string, value litsql.Expression) mysql.UpdateMod
- func SetExprClause(assignment litsql.Expression) mysql.UpdateMod
- func SetQuery(column string, q mysql.SelectQuery) mysql.UpdateMod
- func SetString(column string, right string) mysql.UpdateMod
- func Table(name string) mysql.UpdateMod
- func TableAs(name string, alias string) mysql.UpdateMod
- func Where(condition string) mysql.UpdateMod
- func WhereClause(query string, args ...any) mysql.UpdateMod
- func WhereExpr(condition litsql.Expression) mysql.UpdateMod
- type FromChain
- type JoinChain
- func CrossJoin(table string) JoinChain
- func CrossJoinExpr(table litsql.Expression) JoinChain
- func FullJoin(table string) JoinChain
- func FullJoinExpr(table litsql.Expression) JoinChain
- func InnerJoin(table string) JoinChain
- func InnerJoinExpr(table litsql.Expression) JoinChain
- func LeftJoin(table string) JoinChain
- func LeftJoinExpr(table litsql.Expression) JoinChain
- func RightJoin(table string) JoinChain
- func RightJoinExpr(table litsql.Expression) JoinChain
- func StraightJoin(table string) JoinChain
- func StraightJoinExpr(table litsql.Expression) JoinChain
- type WithChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetArgNamed ¶ added in v0.8.0
func SetExprClause ¶ added in v0.8.0
func SetExprClause(assignment litsql.Expression) mysql.UpdateMod
Types ¶
type FromChain ¶
type FromChain interface { sq.QueryMod[tag.UpdateTag] As(alias string, columns ...string) FromChain Lateral() FromChain }
func FromExpr ¶ added in v0.8.0
func FromExpr(table litsql.Expression) FromChain
func FromQuery ¶ added in v0.8.0
func FromQuery(q mysql.SelectQuery) FromChain
type JoinChain ¶
type JoinChain interface { sq.QueryMod[tag.UpdateTag] As(alias string, columns ...string) JoinChain Lateral() JoinChain Natural() JoinChain On(on string) JoinChain OnExpr(on litsql.Expression) JoinChain OnClause(query string, args ...any) JoinChain Using(using ...string) JoinChain }
func CrossJoinExpr ¶ added in v0.8.0
func CrossJoinExpr(table litsql.Expression) JoinChain
func FullJoinExpr ¶ added in v0.8.0
func FullJoinExpr(table litsql.Expression) JoinChain
func InnerJoinExpr ¶ added in v0.8.0
func InnerJoinExpr(table litsql.Expression) JoinChain
func LeftJoinExpr ¶ added in v0.8.0
func LeftJoinExpr(table litsql.Expression) JoinChain
func RightJoinExpr ¶ added in v0.8.0
func RightJoinExpr(table litsql.Expression) JoinChain
func StraightJoin ¶
func StraightJoinExpr ¶ added in v0.8.0
func StraightJoinExpr(table litsql.Expression) JoinChain
Click to show internal directories.
Click to hide internal directories.