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 ValuesE(clauses ...litsql.Expression) mysql.InsertMod
- func ValuesS(clauses ...string) mysql.InsertMod
- type InsertConflictChain
- type InsertConflictUpdateMod
- func ConflictSet(column string, arg any) InsertConflictUpdateMod
- func ConflictSetAN(column string, argumentName string) InsertConflictUpdateMod
- func ConflictSetC(query string, args ...any) InsertConflictUpdateMod
- func ConflictSetE(column string, value litsql.Expression) InsertConflictUpdateMod
- func ConflictSetEC(assignment litsql.Expression) InsertConflictUpdateMod
- func ConflictSetQ(column string, q mysql.SelectQuery) InsertConflictUpdateMod
- func ConflictSetS(column string, right string) InsertConflictUpdateMod
- func ConflictWhere(condition string) InsertConflictUpdateMod
- func ConflictWhereC(query string, args ...any) InsertConflictUpdateMod
- func ConflictWhereE(condition litsql.Expression) InsertConflictUpdateMod
- type WithChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverridingSystem ¶
func OverridingUser ¶
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 ConflictSetAN ¶ added in v0.6.3
func ConflictSetAN(column string, argumentName string) InsertConflictUpdateMod
func ConflictSetC ¶ added in v0.6.6
func ConflictSetC(query string, args ...any) InsertConflictUpdateMod
func ConflictSetE ¶
func ConflictSetE(column string, value litsql.Expression) InsertConflictUpdateMod
func ConflictSetEC ¶ added in v0.6.6
func ConflictSetEC(assignment litsql.Expression) InsertConflictUpdateMod
func ConflictSetQ ¶
func ConflictSetQ(column string, q mysql.SelectQuery) InsertConflictUpdateMod
func ConflictSetS ¶
func ConflictSetS(column string, right string) InsertConflictUpdateMod
func ConflictWhere ¶
func ConflictWhere(condition string) InsertConflictUpdateMod
func ConflictWhereC ¶
func ConflictWhereC(query string, args ...any) InsertConflictUpdateMod
func ConflictWhereE ¶
func ConflictWhereE(condition litsql.Expression) InsertConflictUpdateMod
Click to show internal directories.
Click to hide internal directories.