ErrorsReads and writes · rule
query.order_direction
Order field has no asc or desc.
Area 6, Reads and writes; not declinable; the next step is usually the agent's.
type Title = Text { max_length: 80}entity Book { id: Uuid title: Title subtitle: Title? available: Bool}query shelf() -> List<Book> { from: Book order: [Book.title] limit: 20}
error Book.title says no direction
--> main.jadpo:14:13
|14 | order: [Book.title] | ^^^^^^^^^^ `asc` or `desc`?
- reason
- Each field of
order:says which way it sorts:ascfrom the smallest,descfrom the largest. - next
- Write
Book.title ascorBook.title desc(agent) - rule
- query.
order_ direction - help
- https://jadpo.
dev/docs/errors/query. order_ direction
Markdown for agents: /docs/errors/query.order_direction.md.Built from Jadpo main at aee2e8f.