QueryRow interface

Module @runic-artifex/views in @runic-artifex/views 0.23.0

interface QueryRow<TRow>

One row of a query collection's range: loaded, or a placeholder.

Properties

index

readonly index: number;

The row's position in the query's order.

status

readonly status: "loaded" | "loading" | "error";

loaded rows have key and row; loading and error rows are placeholders.

key

readonly key: string | undefined;

No documentation.

row

readonly row: TRow | undefined;

No documentation.

stale

readonly stale: boolean;

A loaded row of an earlier version, shown until its new version arrives.