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.order_field

Field cannot be in a query's order.

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

example
type Title = Text {    max_length: 80}entity Book {    id: Uuid    title: Title    subtitle: Title?    available: Bool}query shelf() -> List<Book> {    from: Book    order: [Book.available desc]    limit: 20}
text
error: Records can't be sorted by `Book.available` --> main.jadpo:14:13   |14 |     order: [Book.available desc]   |             ^^^^^^^^^^^^^^^^^^^ `Bool`  reason: A query sorts by numbers, times, dates, durations, quantities, percentages, text and identities, which the database and Jadpo order the same way; `Book.available` is `Bool`.  next: Sort by another field (agent)  rule: query.order_field  help: https://jadpo.dev/docs/errors/query.order_fieldcheck failed: 1 error, 1 file

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