query

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasedTable

func AliasedTable(name, alias string) common2.Table

AliasedTable creates a Table instance assigning any alias

func Asc

func Asc(name common2.Field) _select2.OrderBy

Asc creates an ORDER BY field ASC clause

func DeleteFrom

func DeleteFrom(t string) _delete2.Query

DeleteFrom initiates a DELETE query

func Desc

func Desc(name common2.Field) _select2.OrderBy

Desc creates an ORDER BY field DESC clause

func ExcludedValue

func ExcludedValue(field common2.FieldName) common2.Serializable

ExcludedValue references the proposed insertion row in an ON CONFLICT DO UPDATE clause.

func InsertInto

func InsertInto(t string) _insert2.Query

InsertInto initiates an INSERT INTO query

func OverwriteValue

func OverwriteValue(field common2.FieldName) _insert2.OnConflict

OverwriteValue creates a SET within an ON CONFLICT clause to overwrite the field

func Select

func Select() _select2.Query

Select initiates a SELECT query

func SelectDistinct

func SelectDistinct() _select2.Query

SelectDistinct initiates a SELECT DISTINCT query

func SetValue

func SetValue(field common2.FieldName, value common2.Param) _insert2.OnConflict

SetValue creates a SET within an ON CONFLICT clause to set a field to a new fixed value

func Table

func Table(name string) common2.Table

Table creates a Table instance without assigning any alias

func Update

func Update(t string) _update2.Query

Update initiates an UPDATE query

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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