pub async fn upsert(conn: &mut PgConnection, exam_id: Uuid) -> ModelResult<Uuid>
Expand description

Creates a record for the given exam_id or makes sure that it is undeleted.