📄️ Entity
Entities in Rell are persistent data structures that reside in the database, not in memory. This means they offer long-term storage and can be explicitly managed using the create and delete expressions. Structs in Rell are similar to entities in concept but reside in memory, offering temporary data storage within code execution.
📄️ 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
Enumeration types, or enums, creates maintainable sets of constants in Rell, enhancing code readability and preventing errors.
📄️ Query
Queries provide a controlled way to retrieve data in Rell.
📄️ 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
In Rell, functions streamline repetitive tasks by encapsulating reusable logic, such as validation or data retrieval.
📄️ Abstract module
Abstract modules and functions allow you to design reusable code components that you can adapt to specific needs within your client modules.
📄️ Namespace
Namespaces provide essential structure and clarity to your Rell projects.
📄️ External Module
The @external annotation allows a blockchain to access entities defined in another blockchain in the same container.
📄️ Mount names
Entities, objects, operations, and queries have mount names: