Function count_cost_metrics

Source
pub async fn count_cost_metrics(
    pool: &Pool<MySql>,
    resource_type_id: Option<i32>,
    provider_id: Option<i64>,
    app_id: Option<i64>,
    start_date: Option<DateTime<Utc>>,
    end_date: Option<DateTime<Utc>>,
    billing_period: Option<&str>,
) -> Result<i64>
Expand description

Counts the total number of cost metrics in the database with optional filtering.