Documentation ¶
Index ¶
- func Apply(f func(a sqlite.InsertModApply)) sqlite.InsertMod
- func Into(name string, columns ...string) sqlite.InsertMod
- func OverridingSystem() sqlite.InsertMod
- func OverridingUser() sqlite.InsertMod
- func Query(q sqlite.SelectQuery) sqlite.InsertMod
- func Returning(clauses ...string) sqlite.InsertMod
- func Values(values ...any) sqlite.InsertMod
- func ValuesE(clauses ...litsql.Expression) sqlite.InsertMod
- func ValuesS(clauses ...string) sqlite.InsertMod
- type InsertConflictChain
- type InsertConflictUpdateMod
- func ConflictSet(column string, arg any) InsertConflictUpdateMod
- func ConflictSetE(column string, value litsql.Expression) InsertConflictUpdateMod
- func ConflictSetQ(column string, q sqlite.SelectQuery) InsertConflictUpdateMod
- func ConflictSetR(raw string) InsertConflictUpdateMod
- func ConflictSetRE(assignment litsql.Expression) 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 ConflictSetE ¶
func ConflictSetE(column string, value litsql.Expression) InsertConflictUpdateMod
func ConflictSetQ ¶
func ConflictSetQ(column string, q sqlite.SelectQuery) InsertConflictUpdateMod
func ConflictSetR ¶
func ConflictSetR(raw string) InsertConflictUpdateMod
func ConflictSetRE ¶
func ConflictSetRE(assignment litsql.Expression) 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.