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 every answer the user gave. Called from account deletion, which is why this is a hard delete: the answers are personal circumstances the student told us.