Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OnConflict ¶
type OnConflict common.Serializable
OnConflict specifies what to do when there is a conflict during insertion
func Increment ¶ added in v0.24.0
Increment adds delta to the value already stored in field.
The right-hand side must be qualified with the table name. An unqualified column reference there is ambiguous to PostgreSQL: it refuses to guess between the row already stored and excluded.<field>, the row proposed for insertion, even though only the former is a legal unqualified reference. SQLite has no such restriction, but accepts the qualified form too.
func Overwrite ¶
func Overwrite(field common.FieldName) OnConflict
Click to show internal directories.
Click to hide internal directories.