aboutsummaryrefslogtreecommitdiffstats
path: root/examples/counter.aup
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 05:14:16 +0100
committereunhhu <[email protected]>2026-09-28 05:14:16 +0100
commit0134f492c9fcb4ecf079a9dad93db1f8c70ced79 (patch)
treec7f7190df538ddcb367999140c5c326f9d05d28f /examples/counter.aup
parent2ed0e467398cc73cedb9516efc7655c9a74cbde5 (diff)
downloadaup-0134f492c9fcb4ecf079a9dad93db1f8c70ced79.tar.gz
aup-0134f492c9fcb4ecf079a9dad93db1f8c70ced79.zip
Count distinct values
distinct(value for item in list [where condition]) counts the different values the included items give, compiled to Pure's fold of kind 5 (SQL's count(distinct ...)). An accepted app walks and folds a keyed list in a range of its key (where l.id >= start && l.id < start + 16), which Pure reads by key.
Diffstat (limited to 'examples/counter.aup')
0 files changed, 0 insertions, 0 deletions