Skip to main content

set_risk_reasons

Function set_risk_reasons 

Source
pub async fn set_risk_reasons(
    conn: &mut PgConnection,
    changeset_id: Uuid,
    reasons: &[(EntityKey, &[RiskReason])],
) -> ModelResult<()>
Expand description

Replaces the risk reasons of staged entities, leaving their staged state and revision as they are.