Function headless_lms_models::course_module_completions::get_all_by_course_instance_and_user_id
source · pub async fn get_all_by_course_instance_and_user_id(
conn: &mut PgConnection,
course_instance_id: Uuid,
user_id: Uuid
) -> ModelResult<Vec<CourseModuleCompletion>>
Expand description
Gets all module completions for the user on a single course instance. There can be multiple modules
in a single course, so the result is a Vec
.