From the source
Summary by forck
Supabase announced that PostgREST v12 now supports aggregate functions (avg, count, max, min, sum) directly through the API, allowing dynamic data summarization without requiring views.
The feature is disabled by default due to potential performance risks, and users must enable it by modifying the PostgREST connection role.





