Skip to content

API Interface Query

github-actions[bot] edited this page Dec 3, 2026 · 1 revision

Interface: Query

Defined in: src/engine/core/systemTypes.ts:29

A query over Transform and data components (ADR 0679), made with state.query(...) and reused across frames. Iterating it matches the nodes now (active in the hierarchy, with every term, accepted by the run's row filter). The row object and iterator are reused: don't keep the row, and don't iterate one query inside a loop over itself.

Extends

  • Iterable<Row>

Properties

terms

readonly terms: readonly QueryTerm[];

Defined in: src/engine/core/systemTypes.ts:30

Methods

[iterator]()

[iterator](): Iterator<Row, any, any>;

Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:49

Returns

Iterator<Row, any, any>

Inherited from

Iterable.[iterator]


rows()

rows(): Rows;

Defined in: src/engine/core/systemTypes.ts:32

The rows matching now, with typed-array columns (column(def), ADR 0064). Reused: valid until the next call.

Returns

Rows

Clone this wiki locally