Back to Browse

PostgreSQL with Ktor using Exposed || Part 11 - Update & Upsert Operations

130 views
Apr 19, 2025
16:33

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: https://www.youtube.com/playlist?list=PL3_Xm4wcQKw3VJxUiXzWO57wrLAgRp0Hh 📌 Ktor Fundamentals Playlist: https://www.youtube.com/playlist?list=PL3_Xm4wcQKw1DCU1lPSVhuCMYHg-pLVKI 📌 Ktor Project Generator: https://start.ktor.io 📌 Ktor Docs: https://ktor.io 📌 Exposed Docs: https://www.jetbrains.com/help/exposed/home.html 📌 Source Code:https://github.com/akashkamati/ktor-with-postgres #KotlinServerSide #ktor #postgres #exposed #crudoperations #postgresusingkotlin #hikaricp #dockerpostgresadminersetup #backenddevelopment #kotlininbackend #ktorserver #kotlin

Download

0 formats

No download links available.

PostgreSQL with Ktor using Exposed || Part 11 - Update & Upsert Operations | NatokHD