Zalvena-Service/etc/clickhouse/queries/get_billing_usage__v1.liquid
2025-02-19 16:44:17 -05:00

4 lines
124 B
Text
Executable file

SELECT countMerge(events) as Count
FROM monthly_usage_v1
WHERE app_id IN ('{{app_ids}}')
AND period = toStartOfMonth(now())