pub async fn get_by_ids_as_map(
    conn: &mut PgConnection,
    ids: &[Uuid]
) -> ModelResult<HashMap<Uuid, CourseModuleCompletion>>