Exposing Data
summary
Exposed is a lightweight Kotlin library with two real APIs: Kotlin DSL or DAO, connects to Postgres/H2/MySQL and runs blocking transactions by default but provides a new suspended transaction bridge for coroutine servers, used with Ktor to power a working blog example. Batch operations run faster — batch inserts halve insert time when tuned for the database. Testing uses Testcontainers; migrations require Flyway or manual work today. Project now has two full‑time maintainers and a roadmap for async and multiplatform support.
AI-written summary · about
chapters (11)
- 0:00Exposed library intro
- 2:32What Exposed is
- 5:00Setting up database
- 10:18Inserting data
- 13:06Batch inserts & performance
- 15:37Updating and deleting
- 16:43Querying with DSL
- 23:05Data Access Objects
- 29:52Ktor real-world usage
- 35:11Testing strategies
- 42:59Future plans
related talks
44m7±2 things you didn't know about Exposed
45mBootiful Kotlin
50mDirect2DB: Radically simplified app architecture with Kotlin
50mBootiful Kotlin
40mCreating Full-stack Web Apps with Kotlin DSLs
21mBuilding asynchronous API with Ktor & Kotlin
49mA Super Secret Talk about Language Integrated Query
39mEmbrace the Kotlin ecosystem at the back-end side
