Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Reads and writes

Reads and writes · rule

query.aggregate_unknown

Aggregate entry is not count, sum, min, max or average.

Area 6, Reads and writes; not declinable; the next step is usually the agent's.

example
type LeafCount = Int {    min: 1}entity Book {    id: Uuid    leaves: LeafCount}type ShelfLength = Output {    mean_leaves: Decimal?}query shelf_length() -> ShelfLength {    from: Book    aggregate: {        mean_leaves: avg(Book.leaves, scale: 1, rounding: Rounding.half_up)    }}
text
error: `avg` isn't an aggregate --> main.jadpo:17:22   |17 |         mean_leaves: avg(Book.leaves, scale: 1, rounding: Rounding.half_up)   |                      ^^^ not an aggregate  reason: An aggregate is `count()`, `sum(F)`, `min(F)`, `max(F)` or `average(F, scale:, rounding:)`, each `F` a field of `Book`. Did you mean `average`?  next: Use `average` (agent)  rule: query.aggregate_unknown  help: https://jadpo.dev/docs/errors/query.aggregate_unknowncheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/query.aggregate_unknown.md.Built from Jadpo main at a707efb.