Skip to main content
A table is declared with table(fields, options), series(fields, options) or timeline(fields, options) and placed in the app tree, where its path is its name. See Tables and Series and timelines for how to use them.

Kinds

key names one to four fields. Fields are declared with value types; no field holds the time of a series sample or a timeline period, which is the row’s place, given by .at(instant) or .over({ from, to }).

Options by kind

Durations are Temporal.Duration values or duration literals such as { days: 30 }. presence, total, machine, pin and mark are described in Table capabilities.

Limits and refusals

A declaration names its fix when it refuses an option:
  • ErasableKeyMinted: an erasable table’s key is minted, so drop key.
  • SealedKey, SealedIndex: a field sealed with label.seal(type) is never in the key or an ordered index.
  • StoreClearOverUnit refuses a store exposure over data that erasure or expiry can close.
  • ExposureNotProtected refuses an exposure of an order that is already structural.
  • ExposureAboveCeiling requires the deployer’s live grants to clear every label outcome of a table with a store exposure.
  • SharedClaimReleaseMissing requires a Release for the verdict of unique: [{ fields, scope: family.all, release }]. Use a plain field list to keep the constraint within one Place.
  • MarkTimed: only a series or a timeline takes mark.
  • SpatialTable: only a table keeps a spatial index over a t.geometry field.
  • PresenceAbove, PresenceRelease: presence needs a label above it, and its release lowers exactly the listed fields.