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

Intermediate builder for typed ON CONFLICT clause construction (PostgreSQL).

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 */ }