Skip to main content

delete_all_by_user_id

Function delete_all_by_user_id 

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

Erases everything the user wrote here. Called from account deletion, which is why this is a hard delete: the text is the student’s own prose about their own circumstances.