Skip to main content

count_by_module_and_state_for_course

Function count_by_module_and_state_for_course 

Source
pub async fn count_by_module_and_state_for_course(
    conn: &mut PgConnection,
    course_id: Uuid,
    course_instance_id: Option<Uuid>,
) -> ModelResult<Vec<CourseModuleStateCount>>
Expand description

The course’s live rows per module and state, narrowed to one instance where the caller names one.