Skip to main content

delete_older_than

Function delete_older_than 

Source
pub async fn delete_older_than(
    conn: &mut PgConnection,
    cutoff: DateTime<Utc>,
) -> ModelResult<u64>
Expand description

Hard-deletes rows past the retention window: the stored bodies must stop existing.