pub async fn update_analytics(
    pool: &DbPool,
    update_analytics: UpdateAnalytics
) -> Result<Analytics, PoolError>
Expand description

This will update a record when it’s present by incrementing its payout_amount and payout_count fields