Skip to main content

get_waiting_pressers

Function get_waiting_pressers 

Source
pub async fn get_waiting_pressers(
    conn: &mut PgConnection,
    since: Option<DateTime<Utc>>,
    credit_registration_id: Option<Uuid>,
) -> ModelResult<Vec<WaitingPresser>>
Expand description

Students waiting for a student number who pressed “I have enrolled” and completed on or after since, longest waiting first. credit_registration_id narrows to one row.