Skip to main content

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.

note

Ensure that you have the Chromia CLI tool installed in order to run the commands provided in this course.

This course relies on the following documentation, which can help you understand the underlying concepts and approaches:

SectionTypeDocumentation
RellEntityEntity
CLIInstallationInstall CLI
CLICommandsCLI Commands
RellLanguage featuresOperations
RellLanguage featuresInner Join
RellLanguage featuresStruct
RellLanguage featuresQuery
RellLanguage featuresEnum
RellLanguage featuresFunction

The complete code repository for this course is available here: Rell masterclass repository.