async fn user_has_passed_exam_for_the_course(
conn: &mut PgConnection,
user_id: Uuid,
course_id: Uuid
) -> ModelResult<bool>
Expand description
Returns true if there is at least one exam associated with the course, that has ended and the user has received enough points from it.