Data Structures
The Genesis database supports:
- tables
- views
Tables contain rows of data of the same type. The data in tables support read, write and subscribe operations.
A view represents a number of tables joined together. Views support read and subscribe operations using our database interfaces.
Tables | Indices | View | |
---|---|---|---|
Has typesafe entity | ✔️ | ✔️ | ✔️ |
Can be represented as DbRecord | ✔️ | ✔️ | ❌ |
Supports read operations | ✔️ | ✔️ | ✔️ |
Supports write operations | ✔️ | Delete Only | ❌ |
Supports subscribe operations | ✔️ | ❌ | single cardinality only |
Defined in | *-tables-dictionary.kts | *-tables-dictionary.kts | *-view-dictionary.kts |
Supports indices | ✔️ | ❌ | ✔️ (root table only) |