Skip to main content

count_item_outcomes_since

Function count_item_outcomes_since 

Source
pub async fn count_item_outcomes_since(
    conn: &mut PgConnection,
    since: DateTime<Utc>,
) -> ModelResult<SuotarItemOutcomeTotals>
Expand description

Per-item outcomes in [since, now), counted over events rather than rows: an item that failed really failed, whatever its row has since become.