Skip to content
docs
Arxo ↗

LDC-Q2002 — The query reads from a computation that was never declared

For LLMs5 sections

A query can first run a named computation over a package and a case, then read the resulting document as if it were a relation. The reading source names that computation, so the engine can check the name against the computations the query declares. A name with no matching declaration stops the query before any row is read.

Either declare the computation under that name at the head of the query, or fix the source to name the computation that is actually declared.

LawQL
from r in m.rows select r
LawQL
from r in rules select r

The engine reports this in its own wording:

Output
LDC-Q2002: materialization 'm' is not declared.

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

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