Skip to main content

get_ids_with_several_submitted_attainments

Function get_ids_with_several_submitted_attainments 

Source
pub async fn get_ids_with_several_submitted_attainments(
    conn: &mut PgConnection,
    limit: i64,
) -> ModelResult<Vec<Uuid>>
Expand description

Registrations whose answers named more than one submitted attainment id, which is the shape a double submission would leave behind.

Per registration, not per completion: a grade improvement is a second registration row and a second attainment on purpose.