📄️ Entity
You store values (instances) of an entity in Rell in a database, not in
📄️ Object
An object is similar to an entity, but there can be only one instance of an object:
📄️ Struct
A struct is similar to an entity, but its instances exist in memory, not in a database.
📄️ Enum
In Rell, enums (enumeration types) provide a powerful tool for creating user-defined sets of constants, enhancing code clarity and maintainability.
📄️ Query
- Can't modify the data in the database (compile-time verification)
📄️ Operation
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.
📄️ Function
- Can return nothing or a value
📄️ Abstract modules and functions
A module or a function can be declared abstract:
📄️ Namespace
You can put definitions in a namespace:
📄️ External
You can use the @external annotation to access entities defined in other
📄️ Mount names
Entities, objects, operations, and queries have mount names: