Skip to main content

get_waiting_for_student_number

Function get_waiting_for_student_number 

Source
pub async fn get_waiting_for_student_number(
    conn: &mut PgConnection,
    since: Option<DateTime<Utc>>,
    limit: i64,
) -> ModelResult<(Vec<WaitingForStudentNumber>, i64)>
Expand description

The rows behind PendingReasonCounts::student_number_count completed on or after since, longest waiting first, with how many there are in all.