count_all
The number of rows.
Flags
| Flag | Value |
|---|---|
| Kind | aggregate |
| Nulls | never null |
| Deterministic | yes |
| Order matters | no |
| Decomposable | yes |
Example
A pipeline from the language's tested corpus that uses count_all, over the example tables.
from orders
aggregate {n = count_all(), rows = count_all(), total = sum(amount), avg = mean(amount)}In a plan:
{
"args": [],
"fn": "count_all"
}