How Rad fits together
The few ideas worth knowing before you build with Rad.
Rad starts with your application's data model and keeps the database and generated client aligned with it.
The normal loop
rad.schema.yaml
-> rad schema migrate
-> generated client
-> application
You edit the schema, review the change, migrate the database, then use the updated client. The database checks that a generated client belongs to the schema version it connects to.
Keep going
- Schemas and clients covers the files in a Rad project.
- Queries explains how application code asks for data.
- Transactions explains what Rad commits as one unit.