In this video, we’ll explore how to work with Binary, Enumeration, and Date/Time data types in PostgreSQL using the Exposed ORM in a Ktor backend application.
What you’ll learn:
✅ How to store and retrieve binary data using PostgreSQL’s BYTEA type
✅ When to store file paths instead of raw binary in the database
✅ Define enums in Kotlin and map them to PostgreSQL using enumeration() and enumerationByName()
✅ Work with date and time types: LocalDate, LocalTime, LocalDateTime, and Instant
✅ Use default expressions like CurrentDateTime and CurrentTimestamp in Exposed
🔗 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 #postgresusingkotlin #hikaricp #dockerpostgresadminersetup #backenddevelopment #kotlininbackend #ktorserver #kotlin
Download
0 formats
No download links available.
PostgreSQL with Ktor using Exposed || Part 05 - Binary, Enumeration & Date Time Data Types | NatokHD