pub async fn get_ids_by_course_slug_or_uh_course_code(
conn: &mut PgConnection,
course_slug_or_code: &str
) -> ModelResult<Vec<Uuid>>
Expand description
Gets all course modules with a matching uh_course_code
or course slug
.
In the latter case only one record at most is returned, but there is no way to distinguish between these two scenarios in advance.