Skip to content

Commit 7e4515c

Browse files
committed
Add changelog for further WAE SQL additions
This commit adds a changelog entry for recent function additions, as documented in the previous commits. I have chosen to omit descriptions of the date/time functions, because they are all quite generic and it looks unwieldy to have some many samey descriptions.
1 parent 0288f51 commit 7e4515c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Workers Analytics Engine expands SQL support further
3+
description: Workers Analytics Engine now supports more SQL functions for aggregation and for working with dates and times
4+
date: 2025-11-12
5+
products:
6+
- workers-analytics-engine
7+
---
8+
You can now perform more powerful queries directly in [Workers Analytics Engine](https://developers.cloudflare.com/analytics/analytics-engine/) with a major expansion of our SQL function library.
9+
10+
Workers Analytics Engine allows you to ingest and store high-cardinality data at scale (such as custom analytics) and query your data through a simple SQL API.
11+
12+
Today, we've expanded Workers Analytics Engine's SQL capabilities with several new functions:
13+
14+
[**New aggregate functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/aggregate-functions/)
15+
- `countIf()` - count the number of rows which satisfy a provided condition
16+
- `sumIf()` - calculate a sum from rows which satisfy a provided condition
17+
- `avgIf()` - calculate an average from rows which satisfy a provided condition
18+
19+
[**New date and time functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/date-time-functions/)
20+
- `toYear()`
21+
- `toMonth()`
22+
- `toDayOfMonth()`
23+
- `toDayOfWeek()`
24+
- `toHour()`
25+
- `toMinute()`
26+
- `toSecond()`
27+
- `toStartOfYear()`
28+
- `toStartOfMonth()`
29+
- `toStartOfWeek()`
30+
- `toStartOfDay()`
31+
- `toStartOfHour()`
32+
- `toStartOfFifteenMinutes()`
33+
- `toStartOfTenMinutes()`
34+
- `toStartOfFiveMinutes()`
35+
- `toStartOfMinute()`
36+
- `today()`
37+
- `toYYYYMM()`
38+
39+
## Ready to get started?
40+
Whether you're building usage-based billing systems, customer analytics dashboards, or other custom analytics, these functions let you get the most out of your data. [Get started ](/analytics/analytics-engine/get-started/) with Workers Analytics Engine and explore all available functions in our [SQL reference documentation](/analytics/analytics-engine/sql-reference/).

0 commit comments

Comments
 (0)