im

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Into

func Into(name any, columns ...string) bob.Mod[*dialect.InsertQuery]

func IntoAs

func IntoAs(name any, alias string, columns ...string) bob.Mod[*dialect.InsertQuery]

func OnConflict

func OnConflict(columns ...any) mods.Conflict[*dialect.InsertQuery]

func OrAbort

func OrAbort() bob.Mod[*dialect.InsertQuery]

func OrFail

func OrFail() bob.Mod[*dialect.InsertQuery]

func OrIgnore

func OrIgnore() bob.Mod[*dialect.InsertQuery]

func OrReplace

func OrReplace() bob.Mod[*dialect.InsertQuery]

func OrRollback

func OrRollback() bob.Mod[*dialect.InsertQuery]

func Query

func Query(q bob.Query) bob.Mod[*dialect.InsertQuery]

Insert from a query

func Recursive

func Recursive(r bool) bob.Mod[*dialect.InsertQuery]

func Returning

func Returning(clauses ...any) bob.Mod[*dialect.InsertQuery]

func Rows

func Rows(rows ...[]bob.Expression) bob.Mod[*dialect.InsertQuery]

func Set added in v0.23.0

func Set(sets ...bob.Expression) bob.Mod[*clause.Conflict]

func SetCol added in v0.23.0

func SetCol(from string) mods.Set[*clause.Conflict]

func SetExcluded added in v0.23.0

func SetExcluded(cols ...string) bob.Mod[*clause.Conflict]

func Values

func Values(clauses ...bob.Expression) bob.Mod[*dialect.InsertQuery]

func Where added in v0.23.0

func Where(e bob.Expression) bob.Mod[*clause.Conflict]

func With

func With(name string, columns ...string) dialect.CTEChain[*dialect.InsertQuery]

Types

This section is empty.

Jump to

Keyboard shortcuts

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