Skip to content
docs
Arxo ↗

LDC-Q4011 — A question over a package needs conditions and a return list

For LLMs5 sections

A question over a package is only complete with both halves: the conditions that filter the rows and the return list that says what to give back for each row. A question with one half missing cannot run — filtering without returning answers nothing, and returning without filtering answers everything. The engine stops and asks for both halves.

Add the missing half. The half that is present stays as written.

LawQL
query q over "demo.diagnostics" { for x: Applicant; select resident(x); }
LawQL
from r in rules select r

The engine reports this in its own wording:

Output
LDC-Q4011: query-over requires where …; and select …;.

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.