Skip to main content

count_by_method_since

Function count_by_method_since 

Source
pub async fn count_by_method_since(
    conn: &mut PgConnection,
    since: DateTime<Utc>,
) -> ModelResult<Vec<(StudentNumberVerificationMethod, i64, i64)>>
Expand description

Live links per method, both all-time and since a cutoff, in one pass over the table, so an admin-established one is never hidden inside a total.