Skip to content

Query language (TQL)

TQL (Typed Query Language) is Lar’s query syntax, parsed by a recursive-descent parser with no eval() and bounded input — the same query language backs Saved Views, the graph view’s filters, and ⌘K’s structured search.

type:Book prop.rating:>4
type:Task mixin:Taskable done:false due:<2026-08-01
type:Project tags:launch
  • type:X — filter by Type (includes descendants in the inheritance tree).
  • mixin:Y — filter by a mixed-in Mixin.
  • prop.<name>:<op><value> — filter by a typed property; operators include :, :>, :<, :>=, :<=, :!=.
  • tags:<name> — filter by an attached Tag Object.

⌘K is for fast, fuzzy lookup across your workspace. TQL is for precise, repeatable structured queries you may want to save as a View.

Any Type can declare a formula property — a small expression language over the Type’s own properties, computed rather than stored. Formulas are available on every property, not gated to a special “table” view.

Next: Templates & formulas.