Documentation ¶
Index ¶
- func Apply(f func(a mysql.InsertModApply)) mysql.InsertMod
- func Into(name string, columns ...string) mysql.InsertMod
- func OverridingSystem() mysql.InsertMod
- func OverridingUser() mysql.InsertMod
- func Query(q mysql.SelectQuery) mysql.InsertMod
- func Returning(clauses ...string) mysql.InsertMod
- func Values(values ...any) mysql.InsertMod
- func ValuesExpr(clauses ...litsql.Expression) mysql.InsertMod
- func ValuesString(clauses ...string) mysql.InsertMod
- type InsertConflictChain
- type InsertConflictUpdateMod
- func ConflictSet(column string, arg any) InsertConflictUpdateMod
- func ConflictSetArgNamed(column string, argumentName string) InsertConflictUpdateMod
- func ConflictSetClause(query string, args ...any) InsertConflictUpdateMod
- func ConflictSetExpr(column string, value litsql.Expression) InsertConflictUpdateMod
- func ConflictSetExprClause(assignment litsql.Expression) InsertConflictUpdateMod
- func ConflictSetQuery(column string, q mysql.SelectQuery) InsertConflictUpdateMod
- func ConflictSetString(column string, right string) InsertConflictUpdateMod
- func ConflictWhere(condition string) InsertConflictUpdateMod
- func ConflictWhereClause(query string, args ...any) InsertConflictUpdateMod
- func ConflictWhereExpr(condition litsql.Expression) InsertConflictUpdateMod
- type WithChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverridingSystem ¶
func OverridingUser ¶
func ValuesExpr ¶ added in v0.8.0
func ValuesExpr(clauses ...litsql.Expression) mysql.InsertMod
func ValuesString ¶ added in v0.8.0
Types ¶
type InsertConflictChain ¶
type InsertConflictChain = chain.InsertConflict[tag.InsertTag, imod.InsertConflictUpdateModUM]
func OnConflict ¶
func OnConflict(columns ...string) InsertConflictChain
func OnConflictOnConstraint ¶
func OnConflictOnConstraint(constraint string) InsertConflictChain
type InsertConflictUpdateMod ¶
type InsertConflictUpdateMod = mod.InsertConflictUpdateMod[tag.InsertTag, imod.InsertConflictUpdateModUM]
func ConflictSet ¶
func ConflictSet(column string, arg any) InsertConflictUpdateMod
func ConflictSetArgNamed ¶ added in v0.8.0
func ConflictSetArgNamed(column string, argumentName string) InsertConflictUpdateMod
func ConflictSetClause ¶ added in v0.8.0
func ConflictSetClause(query string, args ...any) InsertConflictUpdateMod
func ConflictSetExpr ¶ added in v0.8.0
func ConflictSetExpr(column string, value litsql.Expression) InsertConflictUpdateMod
func ConflictSetExprClause ¶ added in v0.8.0
func ConflictSetExprClause(assignment litsql.Expression) InsertConflictUpdateMod
func ConflictSetQuery ¶ added in v0.8.0
func ConflictSetQuery(column string, q mysql.SelectQuery) InsertConflictUpdateMod
func ConflictSetString ¶ added in v0.8.0
func ConflictSetString(column string, right string) InsertConflictUpdateMod
func ConflictWhere ¶
func ConflictWhere(condition string) InsertConflictUpdateMod
func ConflictWhereClause ¶ added in v0.8.0
func ConflictWhereClause(query string, args ...any) InsertConflictUpdateMod
func ConflictWhereExpr ¶ added in v0.8.0
func ConflictWhereExpr(condition litsql.Expression) InsertConflictUpdateMod
Click to show internal directories.
Click to hide internal directories.