Skip to main content

OnConflictBuilder

Type Alias OnConflictBuilder 

Source
pub type OnConflictBuilder<'a, S, T> = OnConflictBuilder<'a, PostgresValue<'a>, S, T, PostgresConflictTarget<'a, PostgresValue<'a>>, PostgresOnConflictOutput>;
Expand description

The ON CONFLICT target of an INSERT, waiting for its action.

Created by InsertBuilder::on_conflict() or InsertBuilder::on_conflict_on_constraint(). Call do_nothing() or do_update() to complete the clause.

Aliased Typeยง

pub struct OnConflictBuilder<'a, S, T> { /* private fields */ }