Skip to main content

delete_by_file_upload_id

Function delete_by_file_upload_id 

Source
pub async fn delete_by_file_upload_id(
    conn: &mut PgConnection,
    file_upload_id: Uuid,
) -> ModelResult<()>
Expand description

Soft-deletes the binding rows for an uploaded file, whatever their state.

Unconditional by design: mark_reaped is the reaper’s form, which locks the row and declines while a live submission file still references it.