Skip to content

Tables (table)

Everything that treats design/meta as rows: the table keyword, meta-table shapes, and generated registries.


In IDL

  • Structs declared with table are treated as table definitions / meta containers.
  • Rows are usually separate structs (record, etc.) grouped via infos maps (and similar patterns).
  • Keys: (key = "field") or composite (key = "a,b") — the parser stores keyFieldNames. If omitted, flows often assume a tuid-style default.
  • Row structs may reserve field IDs 1–4 for header columns (tuid, tid, name, note); codegen enforces user fields from ID 5 upward.

Generated code & runtime

  • MetaTableRegistry: registers table/meta types so loaders can resolve types without reflection.
  • GetSchema(): recovers schema JSON from generated types for tools, meta, Excel, etc.

Signatures and flags: API reference — Generated C# APIs.


Boundaries


Hands-on (DeukPack Kits)

Canon: API & type reference · IDL guide.