Function user_has_completed_course_module

Source
pub async fn user_has_completed_course_module(
    conn: &mut PgConnection,
    user_id: Uuid,
    course_module_id: Uuid,
) -> ModelResult<bool>
Expand description

Checks whether the user has any completions for the given course module on the specified course module.