Skip to main content

upsert

Function upsert 

Source
pub fn upsert<E: Entity>(
    dialect: Dialect,
    entity: &E,
    conflict_columns: &[&str],
    update_columns: &[&str],
) -> Prepared
Expand description

INSERT … ON CONFLICT (…) DO UPDATE.