Documentation ¶
Overview ¶
Code generated by "litsql-dialectgen"; DO NOT EDIT.
Code generated by "litsql-dialectgen"; DO NOT EDIT.
Index ¶
- func Apply(f func(a sqlite.InsertModApply)) sqlite.InsertMod
- func Into(name string, columns ...string) sqlite.InsertMod
- func IntoAs(name string, alias string, columns ...string) sqlite.InsertMod
- func Query(q sqlite.SelectQuery) sqlite.InsertMod
- func Returning(clauses ...string) sqlite.InsertMod
- func Values(values ...any) sqlite.InsertMod
- func ValuesArgNamed(argumentNames ...string) sqlite.InsertMod
- func ValuesExpr(clauses ...litsql.Expression) sqlite.InsertMod
- func ValuesString(clauses ...string) sqlite.InsertMod
- type InsertConflictUpdateChain
- 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 sqlite.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 ValuesArgNamed ¶ added in v0.10.0
func ValuesExpr ¶ added in v0.8.0
func ValuesExpr(clauses ...litsql.Expression) sqlite.InsertMod
func ValuesString ¶ added in v0.8.0
Types ¶
type InsertConflictUpdateChain ¶ added in v0.10.0
type InsertConflictUpdateChain interface { sq.QueryMod[tag.InsertTag] Where(condition string) InsertConflictUpdateChain WhereExpr(condition litsql.Expression) InsertConflictUpdateChain WhereClause(query string, args ...any) InsertConflictUpdateChain DoNothing() InsertConflictUpdateChain DoUpdate(mods ...InsertConflictUpdateMod) InsertConflictUpdateChain }
func OnConflict ¶
func OnConflict(columns ...string) InsertConflictUpdateChain
func OnConflictOnConstraint ¶
func OnConflictOnConstraint(constraint string) InsertConflictUpdateChain
type InsertConflictUpdateMod ¶
type InsertConflictUpdateMod = mod.InsertConflictUpdateMod[tag.InsertTag, imod.InsertConflictUpdateModTag]
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 sqlite.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.