You store values (instances) of an entity in Rell in a database, not in
An object is similar to an entity, but there can be only one instance of an object:
A struct is similar to an entity, but its instances exist in memory, not in a database.
In Rell, enums (enumeration types) provide a powerful tool for creating user-defined sets of constants, enhancing code clarity and maintainability.
- Can't modify the data in the database (compile-time verification)
Operations are declared using the operation keyword, followed by a unique operation name and a list of parameters enclosed in parentheses. The parameters specify the data that the operation expects as input.
- Can return nothing or a value
📄️ Abstract modules and functions
A module or a function can be declared abstract:
You can put definitions in a namespace:
You can use the @external annotation to access entities defined in other
📄️ Mount names
Entities, objects, operations, and queries have mount names: