English
Topic 14. Working with relational databases using the Exposed library
Goal: learn to describe an SQLite schema, run DSL queries, build reports, and verify the atomicity of transactions.
Lecture contents
- The database and connection — From a collection to a database · Preparing the project and connecting
- Tables and DSL queries — Describing a table and its constraints · DSL: create, read, update, and delete
- Relationships and joins — Relationships and joins
- DAO and transactions — DAO: a row as an object · A transaction as an integrity boundary
- Repository, migrations, and tests — The repository and coroutines · Migrations, protection, and tests