Skip to main content

get_all_attempts_by_completion_id

Function get_all_attempts_by_completion_id 

Source
pub async fn get_all_attempts_by_completion_id(
    conn: &mut PgConnection,
    course_module_completion_id: Uuid,
) -> ModelResult<Vec<CreditRegistration>>
Expand description

Every attempt for a completion, newest first. Superseded rows are included on purpose: if Sisu ended up holding both attainments the student must see both.