In this video, we dive deep into how to update and upsert data using Exposed DSL.
We’ll cover:
✅ Updating using update{} function
✅ Using expressions to increment values (e.g., duration + 1)
✅ Performing upserts with onUpdate and onUpdateExclude
✅ Preserving existing data using insertValue() during upserts
✅ Adding WHERE clauses to target specific rows in upserts
🔗 Resources & Links
📌 Playlist: • PostgreSQL with Ktor using Exposed
📌 Ktor Fundamentals Playlist: • Ktor Server Fundamentals
📌 Ktor Project Generator: https://start.ktor.io
📌 Ktor Docs: https://ktor.io
📌 Exposed Docs: https://www.jetbrains.com/help/expose...
📌 Source Code:https://github.com/akashkamati/ktor-w...
#KotlinServerSide #ktor #postgres #exposed #crudoperations #postgresusingkotlin #hikaricp #dockerpostgresadminersetup #backenddevelopment #kotlininbackend #ktorserver #kotlin