LDC-Q0101 — Ordering comparisons are not part of the query language
For LLMs5 sections
What it means
Section titled “What it means”A structural query can test equality, difference, and membership — whether two values match, or one sits inside the other. It cannot ask which of two values is larger: ordering checks have no meaning over snapshot rows, where every comparison is a match or a miss. When the text uses a larger-than, smaller-than, or combined ordering sign, the engine refuses that operator at the exact spot where it appears.
Restate the question as a match: compare with an equality sign, or move the ordering logic into a question answered by the core engine over a package, which is built for exactly that kind of reasoning.
Example
Section titled “Example”from r in rules where r.id > 3 select rfrom r in rules select rDocumentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.