pub async fn fetch_user_chapter_progress(
conn: &mut PgConnection,
course_id: Uuid,
user_ids: Option<&[Uuid]>,
) -> ModelResult<Vec<UserChapterProgress>>Expand description
Per-user chapter progress for a course. When user_ids is Some, only those users are included;
when None, every user with progress in the course is returned.