Reading
Totals per group
Put aggregates in select; the plain columns beside them become the groups.
select=count()select=status,count()select=status,estimate.sum(),created_at.min()count() counts the rows. column.sum() and column.avg() take numbers; column.min() and column.max() anything that can be sorted, dates included.
Every plain column you select splits the rows into groups, one answer row per group. A grouped read cannot embed relations, and orders by its selected columns only.
Examples
/todos?select=count()Asking the database...
/todos?select=status,count(),estimate.avg(),created_at.min()&order=statusAsking the database...
See alsoKnow how many there are