Expand description
Types and functions related to PG’s ON CONFLICT clause
See the methods on InsertStatement
for usage examples.
Structs§
- Incomplete
DoUpdate  - A partially constructed 
ON CONFLICT DO UPDATEclause. - Incomplete
OnConflict  - A partially constructed 
ON CONFLICTclause. 
Functions§
- excluded
 - Represents 
excluded.columnin anON CONFLICT DO UPDATEclause. - on_
constraint  - Used to specify the constraint name for an upsert statement in the form 
ON CONFLICT ON CONSTRAINT. Note thatconstraint_namemust be the name of a unique constraint, not the name of an index.