Documentation
¶
Index ¶
- func AliasedTable(name, alias string) common2.Table
- func Asc(name common2.Field) _select2.OrderBy
- func DeleteFrom(t string) _delete2.Query
- func Desc(name common2.Field) _select2.OrderBy
- func InsertInto(t string) _insert2.Query
- func OverwriteValue(field common2.FieldName) _insert2.OnConflict
- func Select() _select2.Query
- func SelectDistinct() _select2.Query
- func SetValue(field common2.FieldName, value common2.Param) _insert2.OnConflict
- func Table(name string) common2.Table
- func Update(t string) _update2.Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliasedTable ¶
AliasedTable creates a Table instance assigning any alias
func InsertInto ¶
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 SelectDistinct ¶
SelectDistinct initiates a SELECT DISTINCT query
func SetValue ¶
SetValue creates a SET within an ON CONFLICT clause to set a field to a new fixed value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.