Skip to main content

soft_delete

Function soft_delete 

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

Unlinks by soft-delete; relinking inserts a new row, keeping the old number for audit.