Skip to main content

get_schedules

Function get_schedules 

Source
pub async fn get_schedules(
    conn: &mut PgConnection,
    course_id: Option<Uuid>,
    selection: ScheduleSelection,
) -> ModelResult<Vec<RosterSchedule>>
Expand description

Every listable code that has a schedule row; see ensure_rows. course_id narrows the codes and the modules their facts come from to one course, for a scoped tick.