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

Published: 19 April 2025
on channel: Akash Kamati
132
7

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


On this page of the site you can watch the video online PostgreSQL with Ktor using Exposed || Part 11 - Update & Upsert Operations with a duration of hours minute second in good quality, which was uploaded by the user Akash Kamati 19 April 2025, share the link with friends and acquaintances, this video has already been watched 132 times on youtube and it was liked by 7 viewers. Enjoy your viewing!