Rell masterclass
In this masterclass, we will take an in-depth journey into Rell, focusing on its foundational concepts. Rell, which builds upon SQL principles, requires a solid grasp of how Rell entities correspond to SQL tables to ensure efficient code development.
We will start by defining the entities and relationships involved, and then explore how these definitions can be translated into SQL statements and database tables.
Additionally, we will explore the construction of joins in Rell, using practical examples to optimize queries, particularly in scenarios involving NFT models.
To aid in comprehending how Rell interacts with SQL tables and databases, you can utilize the --sql-log
flag with
commands such as chr test, chr repl, and
chr node start.
Ensure that you have the Chromia CLI tool installed in order to run the commands provided in this course.
Related materials
This course relies on the following documentation, which can help you understand the underlying concepts and approaches:
Section | Type | Documentation |
---|---|---|
Rell | Entity | Entity |
CLI | Installation | Install CLI |
CLI | Commands | CLI Commands |
Rell | Language features | Operations |
Rell | Language features | Inner Join |
Rell | Language features | Struct |
Rell | Language features | Query |
Rell | Language features | Enum |
Rell | Language features | Function |
Repository link
The complete code repository for this course is available here: Rell masterclass repository.