qm

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Into

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

func IntoAs

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

func OnConflict

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

The column to target. Will auto add brackets

func OnConflictOnConstraint

func OnConflictOnConstraint(constraint string) mods.Conflict[*psql.InsertQuery]

func OverridingSystem

func OverridingSystem() bob.Mod[*psql.InsertQuery]

func OverridingUser

func OverridingUser() bob.Mod[*psql.InsertQuery]

func Query

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

Insert from a query

func Recursive

func Recursive(r bool) bob.Mod[*psql.SelectQuery]

func Returning

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

func Rows added in v0.3.1

func Rows(rows ...[]any) bob.Mod[*psql.InsertQuery]

func Values

func Values(clauses ...any) bob.Mod[*psql.InsertQuery]

func With

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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