Function get_latest_by_course_and_user_ids

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

Gets latest created completion for the given user on the specified course module.