pub async fn get_all_by_user_id(
conn: &mut PgConnection,
user_id: Uuid,
) -> ModelResult<Vec<UserCertificate>>Expand description
Every certificate the user holds, newest first.
One row per certificate even when its configuration requires several modules: the row names the first required module, which is the whole requirement for every configuration a course editor can currently build.