In this video, we’ll dive into Column Transformations in the Exposed ORM for Kotlin. Learn how you can store a value in one type (like LocalTime) in the database, but transform it into a more meaningful type (like an enum) when querying in your Kotlin code.
We’ll cover:
✅ Why and when to use column transformations
✅ How to use transform { wrap, unwrap } in Exposed
✅ A practical example using an ActiveTimeCategory enum
🔗 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 #datatypespostgres #columntransformation #postgresusingkotlin #hikaricp #dockerpostgresadminersetup #backenddevelopment #kotlininbackend #ktorserver #kotlin
Download
0 formats
No download links available.
PostgreSQL with Ktor using Exposed || Part 07 - Column Transformation & Null Transformation | NatokHD