Enum
Updated
An enum is a closed list of named integers. The column stores the integer. The names live on the enum object (Enums/<Name>.json). A field reaches it through an EDT with edtType: "Enum" and enumMetaId.
Note
An enum is not a Reference and not a scalar
Integeryou invent in the field. The EDT is the type. The enum is the list of values. Create an enum is the recipe. Create an EDT covers Reference and scalar only.
EDTResolver maps the EDT to an integer column. The card widget is a Select; the stored value is the integer.
On an information register, an Enum dimension or resource binds as an integer, the same way Integer does.
Reference does not catalog every enum. Look in Enums/ of the model.
See also#
- EDT
- Dictionary — a Reference, when the list is records
- Information register
- Schema
Where next#
Was this page helpful?