im

package
v0.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.4.2

func Apply(f func(a psql.InsertModApply)) psql.InsertMod

func Into

func Into(name string, columns ...string) psql.InsertMod

func OverridingSystem

func OverridingSystem() psql.InsertMod

func OverridingUser

func OverridingUser() psql.InsertMod

func Query

func Query(q psql.SelectQuery) psql.InsertMod

Insert from a query

func Returning

func Returning(clauses ...string) psql.InsertMod

func Values

func Values(values ...any) psql.InsertMod

func ValuesAN added in v0.5.4

func ValuesAN(argumentNames ...string) psql.InsertMod

func ValuesE

func ValuesE(clauses ...litsql.Expression) psql.InsertMod

func ValuesS

func ValuesS(clauses ...string) psql.InsertMod

Types

type InsertConflictChain

func OnConflict

func OnConflict(columns ...string) InsertConflictChain

func OnConflictOnConstraint

func OnConflictOnConstraint(constraint string) InsertConflictChain

type InsertConflictUpdateMod

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 psql.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

type WithChain

type WithChain = chain.With[tag.InsertTag]

func With

func With(name string, columns ...string) WithChain

func WithE

func WithE(name string, columns ...litsql.Expression) WithChain

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL