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.
pub async fn upsert(conn: &mut PgConnection, exam_id: Uuid) -> ModelResult<Uuid>
Creates a record for the given exam_id
or makes sure that it is undeleted.