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

Publié le: 19 avril 2025
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne PostgreSQL with Ktor using Exposed || Part 11 - Update & Upsert Operations durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Akash Kamati 19 avril 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 132 fois et il a aimé 7 téléspectateurs. Bon visionnage!