pub async fn get_by_ids(
    conn: &mut PgConnection,
    course_instance_ids: &[Uuid]
) -> ModelResult<Vec<CourseInstance>>