Module diesel::pg::upsert [−][src]
Expand description
Types and functions related to PG’s ON CONFLICT
clause
See the methods on InsertStatement
for usage examples.
Structs
A partially constructed ON CONFLICT DO UPDATE
clause.
A partially constructed ON CONFLICT
clause.
Functions
Represents excluded.column
in an ON CONFLICT DO UPDATE
clause.
Used to specify the constraint name for an upsert statement in the form ON CONFLICT ON CONSTRAINT
. Note that constraint_name
must be the name of a
unique constraint, not the name of an index.